/[escript]/trunk/dudley/src/CPPAdapter/DudleyAdapterException.h
ViewVC logotype

Contents of /trunk/dudley/src/CPPAdapter/DudleyAdapterException.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 472 - (show annotations)
Fri Jan 27 01:50:59 2006 UTC (13 years, 2 months ago) by jgs
Original Path: trunk/finley/src/CPPAdapter/FinleyAdapterException.h
File MIME type: text/plain
File size: 1935 byte(s)
rationalise all #includes

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