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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 615 - (show annotations)
Wed Mar 22 02:12:00 2006 UTC (13 years, 8 months ago) by elspeth
File MIME type: text/plain
File size: 1628 byte(s)
More copyright information.

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

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26