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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1387 - (show annotations)
Fri Jan 11 07:45:26 2008 UTC (11 years, 9 months ago) by trankine
Original Path: temp/escript/src/FunctionSpaceException.h
File MIME type: text/plain
File size: 1614 byte(s)
Restore the trunk that existed before the windows changes were committed to the (now moved to branches) old trunk.
1
2 /* $Id$ */
3
4 /*******************************************************
5 *
6 * Copyright 2003-2007 by ACceSS MNRF
7 * Copyright 2007 by University of Queensland
8 *
9 * http://esscc.uq.edu.au
10 * Primary Business: Queensland, Australia
11 * Licensed under the Open Software License version 3.0
12 * http://www.opensource.org/licenses/osl-3.0.php
13 *
14 *******************************************************/
15
16 #if !defined escript_FunctionSpaceException_20040602_H
17 #define escript_FunctionSpaceException_20040602_H
18 #include "system_dep.h"
19
20 #include "esysUtils/EsysException.h"
21 #include <string>
22
23 namespace escript {
24
25 /**
26 \brief
27 FunctionSpaceException exception class.
28
29 Description:
30 FunctionSpaceException exception class.
31 The class provides a public function returning the exception name
32 */
33 class FunctionSpaceException:public esysUtils::EsysException {
34
35 public:
36 /**
37 \brief
38 Default constructor for the exception.
39 */
40 ESCRIPT_DLL_API
41 FunctionSpaceException() : EsysException() {}
42 /**
43 \brief
44 Constructor for the exception.
45 */
46 ESCRIPT_DLL_API
47 FunctionSpaceException(const char *cstr) : EsysException(cstr) {}
48 /**
49 \brief
50 Constructor for the exception.
51 */
52 ESCRIPT_DLL_API
53 FunctionSpaceException(const std::string &str) : EsysException(str) {}
54
55 /// Destructor
56 ESCRIPT_DLL_API
57 virtual ~FunctionSpaceException() throw() {}
58 /**
59 \brief
60 Returns the name of the exception.
61 */
62 ESCRIPT_DLL_API
63 virtual std::string exceptionName() const {return "FunctionSpaceException";}
64 };
65
66 } // end of namespace
67 #endif

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26