escript
Revision_
paso
src
PasoException.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 __PASO_EXCEPTION_H__
18
#define __PASO_EXCEPTION_H__
19
20
#include <escript/EsysException.h>
21
22
namespace
paso
{
23
32
class
PasoException :
public
escript::EsysException
33
{
34
public
:
35
PasoException
(
const
std::string& str) :
EsysException
(str) {}
36
virtual
~PasoException
() throw() {}
37
};
38
39
void
checkPasoError
();
40
41
42
}
// end of namespace
43
44
#endif // __PASO_EXCEPTION_H__
45
escript::EsysException
The base class for escript exceptions.
Definition:
EsysException.h:39
paso::PasoException::PasoException
PasoException(const std::string &str)
Definition:
PasoException.h:58
escript::EsysException::EsysException
EsysException(const std::string &message)
Constructor which creates an Exception with the given message.
Definition:
EsysException.h:60
paso::PasoException::~PasoException
virtual ~PasoException()
Definition:
PasoException.h:59
paso
Definition:
BiCGStab.cpp:25
paso::checkPasoError
void checkPasoError()
Generated by
1.8.16