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

Contents of /trunk/escript/src/FunctionSpaceException.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: 1732 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_FunctionSpaceException_20040602_H
14 #define escript_FunctionSpaceException_20040602_H
15 #include "system_dep.h"
16
17 #include "esysUtils/EsysException.h"
18 #include <string>
19
20 namespace escript {
21
22 /**
23 \brief
24 FunctionSpaceException exception class.
25
26 Description:
27 FunctionSpaceException exception class.
28 The class provides a public function returning the exception name
29 */
30 class FunctionSpaceException:public esysUtils::EsysException {
31
32 public:
33 /**
34 \brief
35 Default constructor for the exception.
36 */
37 ESCRIPT_DLL_API
38 FunctionSpaceException() : EsysException() {}
39 /**
40 \brief
41 Constructor for the exception.
42 */
43 ESCRIPT_DLL_API
44 FunctionSpaceException(const char *cstr) : EsysException(cstr) {}
45 /**
46 \brief
47 Constructor for the exception.
48 */
49 ESCRIPT_DLL_API
50 FunctionSpaceException(const std::string &str) : EsysException(str) {}
51 /**
52 \brief
53 Returns the name of the exception.
54 */
55 ESCRIPT_DLL_API
56 virtual std::string exceptionName() const {return "FunctionSpaceException";}
57 };
58
59 } // end of namespace
60 #endif

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26