/[escript]/branches/intelc_win32/escript/src/SystemMatrixException.h
ViewVC logotype

Annotation of /branches/intelc_win32/escript/src/SystemMatrixException.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 615 - (hide annotations)
Wed Mar 22 02:12:00 2006 UTC (13 years, 6 months ago) by elspeth
Original Path: trunk/escript/src/SystemMatrixException.h
File MIME type: text/plain
File size: 1545 byte(s)
More copyright information.

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

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26