/[escript]/trunk/esys2/bruce/src/Bruce/BruceException.h
ViewVC logotype

Annotation of /trunk/esys2/bruce/src/Bruce/BruceException.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 150 - (hide annotations)
Thu Sep 15 03:44:45 2005 UTC (15 years, 1 month ago) by jgs
File MIME type: text/plain
File size: 1867 byte(s)
Merge of development branch dev-02 back to main trunk on 2005-09-15

1 jgs 150 /*
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    
15     #if !defined finley_BruceException_20050905_H
16     #define finley_BruceException_20050905_H
17    
18     #include "esysUtils/EsysException.h"
19    
20     #include <string>
21    
22     namespace bruce {
23    
24     /**
25     \brief
26     Bruce exception class.
27    
28     Description:
29     Bruce exception class.
30     The class provides a public function returning the exception name.
31     */
32    
33     class BruceException : public esysUtils::EsysException {
34    
35     public:
36    
37     /**
38     \brief
39     Default constructor for the exception.
40     */
41     BruceException() : EsysException() {}
42    
43     /**
44     \brief
45     Constructor for the exception.
46     */
47     BruceException(const char *cstr) : EsysException(cstr) {}
48    
49     /**
50     \brief
51     Constructor for the exception.
52     */
53     BruceException(const std::string &str) : EsysException(str) {}
54    
55     /**
56     \brief
57     Returns the name of the exception.
58     */
59     virtual
60     std::string
61     exceptionName() const {return "BruceException";}
62    
63     };
64    
65     } // end of namespace
66    
67     #endif

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26