escript  Revision_
DataException.h
Go to the documentation of this file.
1 
2 /*****************************************************************************
3 *
4 * Copyright (c) 2003-2020 by The University of Queensland
5 * http://www.uq.edu.au
6 *
7 * Primary Business: Queensland, Australia
8 * Licensed under the Apache License, version 2.0
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12 * Development 2012-2013 by School of Earth Sciences
13 * Development from 2014-2017 by Centre for Geoscience Computing (GeoComp)
14 * Development from 2019 by School of Earth and Environmental Sciences
15 **
16 *****************************************************************************/
17 
18 
19 #if !defined escript_DataException_20040324_H
20 #define escript_DataException_20040324_H
21 
22 #include "EsysException.h"
23 
24 namespace escript
25 {
26 
27 class DataException : public EsysException
28 {
29 public:
30  DataException(const std::string& str) : EsysException(str) {}
31  virtual ~DataException() throw() {}
32 };
33 
34 } // end of namespace
35 
36 #endif
37 
escript::EsysException::EsysException
EsysException(const std::string &message)
Constructor which creates an Exception with the given message.
Definition: EsysException.h:63
escript::DataException::~DataException
virtual ~DataException()
Definition: DataException.h:56
EsysException.h
escript
Definition: AbstractContinuousDomain.cpp:23
escript::DataException::DataException
DataException(const std::string &str)
Definition: DataException.h:55