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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 474 - (hide annotations)
Mon Jan 30 04:23:44 2006 UTC (13 years, 7 months ago) by jgs
File MIME type: text/plain
File size: 1800 byte(s)
restructure escript source tree
move src/Data/* -> src
remove inc
modify #includes and cpppath settings accordingly

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_DomainException_20040608_H
16     #define escript_DomainException_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     DomainException exception class.
27    
28     Description:
29     DomainException exception class.
30     The class provides a public function returning the exception name
31     */
32     class DomainException:public esysUtils::EsysException {
33    
34     public:
35     /**
36     \brief
37     Default constructor for the exception.
38     */
39     DomainException() : EsysException() {}
40     /**
41     \brief
42     Constructor for the exception.
43     */
44     DomainException(const char *cstr) : EsysException(cstr) {}
45     /**
46     \brief
47     Constructor for the exception.
48     */
49     DomainException(const std::string &str) : EsysException(str) {}
50     /**
51     \brief
52     Returns the name of the exception.
53     */
54     virtual std::string exceptionName() const {return "DomainException";}
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