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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 155 - (hide annotations)
Wed Nov 9 02:02:19 2005 UTC (14 years ago) by jgs
Original Path: trunk/escript/src/Data/DataException.h
File MIME type: text/plain
File size: 1899 byte(s)
move all directories from trunk/esys2 into trunk and remove esys2

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

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26