ESyS-Particle
4.0.1
Main Page
Related Pages
Namespaces
Classes
Files
File List
Foundation
Error.h
1
2
// //
3
// Copyright (c) 2003-2011 by The University of Queensland //
4
// Earth Systems Science Computational Centre (ESSCC) //
5
// http://www.uq.edu.au/esscc //
6
// //
7
// Primary Business: Brisbane, Queensland, Australia //
8
// Licensed under the Open Software License version 3.0 //
9
// http://www.opensource.org/licenses/osl-3.0.php //
10
// //
12
13
#ifndef __ERROR_H
14
#define __ERROR_H
15
16
#include <string>
17
#include <iostream>
18
19
using namespace
std;
20
21
class
MError
22
{
23
protected
:
24
string
message;
25
26
public
:
27
MError
(
const
string
& m){message=
"Error : "
+m;};
28
virtual
~
MError
(){};
29
30
void
print_err()
const
{cerr << message << endl;};
31
};
32
33
#endif //__ERROR_H
Generated on Sat Mar 22 2014 08:30:42 for ESyS-Particle by
1.8.1.2