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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1312 - (hide annotations)
Mon Sep 24 06:18:44 2007 UTC (12 years ago) by ksteube
File MIME type: text/plain
File size: 1614 byte(s)
The MPI branch is hereby closed. All future work should be in trunk.

Previously in revision 1295 I merged the latest changes to trunk into trunk-mpi-branch.
In this revision I copied all files from trunk-mpi-branch over the corresponding
trunk files. I did not use 'svn merge', it was a copy.

1 ksteube 1312
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 jgs 82 #if !defined escript_FunctionSpaceException_20040602_H
17     #define escript_FunctionSpaceException_20040602_H
18 woo409 757 #include "system_dep.h"
19 jgs 82
20 robwdcock 682 #include "esysUtils/EsysException.h"
21 jgs 82 #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 woo409 757 class FunctionSpaceException:public esysUtils::EsysException {
34 jgs 82
35     public:
36     /**
37     \brief
38     Default constructor for the exception.
39     */
40 woo409 757 ESCRIPT_DLL_API
41 jgs 82 FunctionSpaceException() : EsysException() {}
42     /**
43     \brief
44     Constructor for the exception.
45     */
46 woo409 757 ESCRIPT_DLL_API
47 jgs 82 FunctionSpaceException(const char *cstr) : EsysException(cstr) {}
48     /**
49     \brief
50     Constructor for the exception.
51     */
52 woo409 757 ESCRIPT_DLL_API
53 jgs 82 FunctionSpaceException(const std::string &str) : EsysException(str) {}
54 phornby 1020
55     /// Destructor
56     ESCRIPT_DLL_API
57 phornby 1022 virtual ~FunctionSpaceException() throw() {}
58 jgs 82 /**
59     \brief
60     Returns the name of the exception.
61     */
62 woo409 757 ESCRIPT_DLL_API
63 jgs 82 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