escript  Revision_
DomainException.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_DomainException_20040608_H
19 #define escript_DomainException_20040608_H
20 #include "system_dep.h"
21 
22 #include "EsysException.h"
23 
24 namespace escript {
25 
27 {
28 public:
29  DomainException(const std::string& str) : EsysException(str) {}
30  virtual ~DomainException() 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
DomainException(const std::string &str)
Definition: DomainException.h:29
virtual ~DomainException()
Definition: DomainException.h:30
Definition: DomainException.h:26