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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1387 - (show annotations)
Fri Jan 11 07:45:26 2008 UTC (11 years, 10 months ago) by trankine
Original Path: temp/escript/src/TransportProblemException.h
File MIME type: text/plain
File size: 1600 byte(s)
Restore the trunk that existed before the windows changes were committed to the (now moved to branches) old trunk.
1
2 /* $Id:$ */
3
4 /*******************************************************
5 *
6 * Copyright 2007 by University of Queensland
7 *
8 * http://esscc.uq.edu.au
9 * Primary Business: Queensland, Australia
10 * Licensed under the Open Software License version 3.0
11 * http://www.opensource.org/licenses/osl-3.0.php
12 *
13 *******************************************************/
14
15 #if !defined escript_TransportProblemException_20040608_H
16 #define escript_TransportProblemException_20040608_H
17
18 #include "system_dep.h"
19 #include "esysUtils/EsysException.h"
20
21 #include <string>
22
23 namespace escript {
24
25 /**
26 \brief
27 TransportProblemException exception class.
28
29 Description:
30 TransportProblemException exception class.
31 The class provides a public function returning the exception name
32 */
33 class TransportProblemException : public esysUtils::EsysException {
34
35 public:
36 /**
37 \brief
38 Default constructor for the exception.
39 */
40 ESCRIPT_DLL_API
41 TransportProblemException() : EsysException() {}
42 /**
43 \brief
44 Constructor for the exception.
45 */
46 ESCRIPT_DLL_API
47 TransportProblemException(const char *cstr) : EsysException(cstr) {}
48 /**
49 \brief
50 Constructor for the exception.
51 */
52 ESCRIPT_DLL_API
53 TransportProblemException(const std::string &str) : EsysException(str) {}
54
55 /// Destructor
56 ESCRIPT_DLL_API
57 virtual ~TransportProblemException() throw() {}
58 /**
59 \brief
60 Returns the name of the exception.
61 */
62 ESCRIPT_DLL_API
63 virtual std::string exceptionName() const {return "TransportProblemException";}
64 };
65
66 } // end of namespace
67 #endif

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26