/[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 626 - (show annotations)
Thu Mar 23 02:16:36 2006 UTC (13 years, 1 month ago) by elspeth
Original Path: trunk/finley/src/CPPAdapter/FinleyAdapterException.h
File MIME type: text/plain
File size: 1624 byte(s)
Copyright information inserted

1 /*
2 ************************************************************
3 * Copyright 2006 by ACcESS MNRF *
4 * *
5 * http://www.access.edu.au *
6 * Primary Business: Queensland, Australia *
7 * Licensed under the Open Software License version 3.0 *
8 * http://www.opensource.org/licenses/osl-3.0.php *
9 * *
10 ************************************************************
11 */
12
13 #if !defined finley_FinleyAdapterException_20040526_H
14 #define finley_FinleyAdapterException_20040526_H
15
16 #include "EsysException.h"
17
18 #include <string>
19
20 namespace finley {
21
22 /**
23 \brief
24 FinleyAdapterException exception class.
25
26 Description:
27 FinleyAdapterException exception class.
28 The class provides a public function returning the exception name
29 */
30 class FinleyAdapterException:public esysUtils::EsysException {
31
32 public:
33 /**
34 \brief
35 Default constructor for the exception.
36 */
37 FinleyAdapterException() : EsysException() {}
38 /**
39 \brief
40 Constructor for the exception.
41 */
42 FinleyAdapterException(const char *cstr) : EsysException(cstr) {}
43 /**
44 \brief
45 Constructor for the exception.
46 */
47 FinleyAdapterException(const std::string &str) : EsysException(str) {}
48 /**
49 \brief
50 Returns the name of the exception.
51 */
52 virtual std::string exceptionName() const {return "FinleyAdapterException";}
53 };
54
55 } // end of namespace
56 #endif

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26