1 |
/* |
2 |
***************************************************************************** |
3 |
* * |
4 |
* COPYRIGHT ACcESS - All Rights Reserved * |
5 |
* * |
6 |
* This software is the property of ACcESS. No part of this code * |
7 |
* may be copied in any form or by any means without the expressed written * |
8 |
* consent of ACcESS. Copying, use or modification of this software * |
9 |
* by any unauthorised person is illegal unless that person has a software * |
10 |
* license agreement with ACcESS. * |
11 |
* * |
12 |
***************************************************************************** |
13 |
*/ |
14 |
|
15 |
#if !defined finley_FinleyAdapterException_20040526_H |
16 |
#define finley_FinleyAdapterException_20040526_H |
17 |
|
18 |
#include "esysUtils/EsysException.h" |
19 |
#include <string> |
20 |
|
21 |
namespace finley { |
22 |
|
23 |
/** |
24 |
\brief |
25 |
FinleyAdapterException exception class. |
26 |
|
27 |
Description: |
28 |
FinleyAdapterException exception class. |
29 |
The class provides a public function returning the exception name |
30 |
*/ |
31 |
class FinleyAdapterException:public esysUtils::EsysException { |
32 |
|
33 |
public: |
34 |
/** |
35 |
\brief |
36 |
Default constructor for the exception. |
37 |
*/ |
38 |
FinleyAdapterException() : EsysException() {} |
39 |
/** |
40 |
\brief |
41 |
Constructor for the exception. |
42 |
*/ |
43 |
FinleyAdapterException(const char *cstr) : EsysException(cstr) {} |
44 |
/** |
45 |
\brief |
46 |
Constructor for the exception. |
47 |
*/ |
48 |
FinleyAdapterException(const std::string &str) : EsysException(str) {} |
49 |
/** |
50 |
\brief |
51 |
Returns the name of the exception. |
52 |
*/ |
53 |
virtual std::string exceptionName() const {return "FinleyAdapterException";} |
54 |
}; |
55 |
|
56 |
} // end of namespace |
57 |
#endif |