/[escript]/trunk/escript/src/DomainException.h
ViewVC logotype

Contents of /trunk/escript/src/DomainException.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 757 - (show annotations)
Mon Jun 26 13:12:56 2006 UTC (13 years, 2 months ago) by woo409
File MIME type: text/plain
File size: 1595 byte(s)
+ Merge of intelc_win32 branch (revision 741:755) with trunk. Tested on iVEC altix (run_tests and py_tests all pass)

1 /*
2 ************************************************************
3 * Copyright 2006 by ACcESS MNRF *
4 * *
5 * http://www.access.edu.au *
6 * Primary Business: Queensland, Australia *
7 * Licensed under the Open Software License version 3.0 *
8 * http://www.opensource.org/licenses/osl-3.0.php *
9 * *
10 ************************************************************
11 */
12
13 #if !defined escript_DomainException_20040608_H
14 #define escript_DomainException_20040608_H
15 #include "system_dep.h"
16
17 #include "esysUtils/EsysException.h"
18
19 #include <string>
20
21 namespace escript {
22
23 /**
24 \brief
25 DomainException exception class.
26
27 Description:
28 DomainException exception class.
29 The class provides a public function returning the exception name
30 */
31 class DomainException:public esysUtils::EsysException {
32
33 public:
34 /**
35 \brief
36 Default constructor for the exception.
37 */
38 ESCRIPT_DLL_API
39 DomainException() : EsysException() {}
40 /**
41 \brief
42 Constructor for the exception.
43 */
44 ESCRIPT_DLL_API
45 DomainException(const char *cstr) : EsysException(cstr) {}
46 /**
47 \brief
48 Constructor for the exception.
49 */
50 ESCRIPT_DLL_API
51 DomainException(const std::string &str) : EsysException(str) {}
52 /**
53 \brief
54 Returns the name of the exception.
55 */
56 ESCRIPT_DLL_API
57 virtual std::string exceptionName() const {return "DomainException";}
58 };
59
60 } // end of namespace
61 #endif

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.26