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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 468 - (show annotations)
Wed Jan 25 06:50:39 2006 UTC (13 years, 10 months ago) by jgs
Original Path: trunk/escript/src/Data/DataException.h
File MIME type: text/plain
File size: 1889 byte(s)
reorganised esysUtils to remove inc directory
1 /*
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 "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 DataException() : esysUtils::EsysException() {}
39 /**
40 \brief
41 Constructor for the exception.
42 */
43 DataException(const char *cstr) : esysUtils::EsysException(cstr) {}
44 /**
45 \brief
46 Constructor for the exception.
47 */
48 DataException(const std::string &str) : esysUtils::EsysException(str) {}
49 /**
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