escript  Revision_
WeipaException.h
Go to the documentation of this file.
1 
2 /*****************************************************************************
3 *
4 * Copyright (c) 2003-2018 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 #ifndef __WEIPA_EXCEPTION_H__
18 #define __WEIPA_EXCEPTION_H__
19 
20 #include <escript/EsysException.h>
21 
22 namespace weipa {
28 {
29 public:
30  WeipaException(const std::string& str) : escript::EsysException(str) {}
31 };
32 
33 } // end of namespace weipa
34 
35 #endif // __WEIPA_EXCEPTION_H__
36 
EsysException(const std::string &message)
Constructor which creates an Exception with the given message.
Definition: EsysException.h:37
The base class for escript exceptions.
Definition: EsysException.h:28
Definition: AbstractContinuousDomain.cpp:22
Definition: DataVar.cpp:50
WeipaException(const std::string &str)
Definition: WeipaException.h:30
WeipaException exception class.
Definition: WeipaException.h:27