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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 480 - (hide annotations)
Wed Feb 1 05:15:12 2006 UTC (13 years, 8 months ago) by jgs
File MIME type: text/plain
File size: 1856 byte(s)
rationalise #includes and forward declarations

1 jgs 82 /*
2     *****************************************************************************
3     * *
4     * COPYRIGHT ACcESS - All Rights Reserved *
5     * *
6     * This software is the property of ACcESS. No part of this code *
7     * may be copied in any form or by any means without the expressed written *
8     * consent of ACcESS. Copying, use or modification of this software *
9     * by any unauthorised person is illegal unless that person has a software *
10     * license agreement with ACcESS. *
11     * *
12     *****************************************************************************
13     */
14 jgs 474
15 jgs 82 #if !defined escript_SystemMatrixException_20040608_H
16     #define escript_SystemMatrixException_20040608_H
17    
18 jgs 468 #include "EsysException.h"
19 jgs 474
20 jgs 82 #include <string>
21    
22     namespace escript {
23    
24     /**
25     \brief
26     SystemMatrixException exception class.
27    
28     Description:
29     SystemMatrixException exception class.
30     The class provides a public function returning the exception name
31     */
32 jgs 480 class SystemMatrixException : public esysUtils::EsysException {
33 jgs 82
34     public:
35     /**
36     \brief
37     Default constructor for the exception.
38     */
39     SystemMatrixException() : EsysException() {}
40     /**
41     \brief
42     Constructor for the exception.
43     */
44     SystemMatrixException(const char *cstr) : EsysException(cstr) {}
45     /**
46     \brief
47     Constructor for the exception.
48     */
49     SystemMatrixException(const std::string &str) : EsysException(str) {}
50     /**
51     \brief
52     Returns the name of the exception.
53     */
54     virtual std::string exceptionName() const {return "SystemMatrixException";}
55     };
56    
57     } // end of namespace
58     #endif

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26