escript  Revision_
DataException.h
Go to the documentation of this file.
1 
2 /*****************************************************************************
3 *
4 * Copyright (c) 2003-2016 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 by Centre for Geoscience Computing (GeoComp)
14 *
15 *****************************************************************************/
16 
17 
18 #if !defined escript_DataException_20040324_H
19 #define escript_DataException_20040324_H
20 
21 #include "EsysException.h"
22 
23 namespace escript
24 {
25 
27 {
28 public:
29  DataException(const std::string& str) : EsysException(str) {}
30  virtual ~DataException() throw() {}
31 };
32 
33 } // end of namespace
34 
35 #endif
36 
The base class for escript exceptions.
Definition: EsysException.h:28
Definition: AbstractContinuousDomain.cpp:22
virtual ~DataException()
Definition: DataException.h:30
DataException(const std::string &str)
Definition: DataException.h:29
Definition: DataException.h:26