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

Annotation of /trunk/escript/src/FunctionSpaceException.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 757 - (hide annotations)
Mon Jun 26 13:12:56 2006 UTC (13 years, 3 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 jgs 82 /*
2 elspeth 615 ************************************************************
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 jgs 82 */
12    
13     #if !defined escript_FunctionSpaceException_20040602_H
14     #define escript_FunctionSpaceException_20040602_H
15 woo409 757 #include "system_dep.h"
16 jgs 82
17 robwdcock 682 #include "esysUtils/EsysException.h"
18 jgs 82 #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 woo409 757 class FunctionSpaceException:public esysUtils::EsysException {
31 jgs 82
32     public:
33     /**
34     \brief
35     Default constructor for the exception.
36     */
37 woo409 757 ESCRIPT_DLL_API
38 jgs 82 FunctionSpaceException() : EsysException() {}
39     /**
40     \brief
41     Constructor for the exception.
42     */
43 woo409 757 ESCRIPT_DLL_API
44 jgs 82 FunctionSpaceException(const char *cstr) : EsysException(cstr) {}
45     /**
46     \brief
47     Constructor for the exception.
48     */
49 woo409 757 ESCRIPT_DLL_API
50 jgs 82 FunctionSpaceException(const std::string &str) : EsysException(str) {}
51     /**
52     \brief
53     Returns the name of the exception.
54     */
55 woo409 757 ESCRIPT_DLL_API
56 jgs 82 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