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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1388 - (hide annotations)
Fri Jan 11 07:45:58 2008 UTC (11 years, 9 months ago) by trankine
File MIME type: text/plain
File size: 1600 byte(s)
And get the *(&(*&(* name right
1 jgs 474
2 gross 1364 /* $Id:$ */
3 ksteube 1312
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 gross 1364 #if !defined escript_TransportProblemException_20040608_H
16     #define escript_TransportProblemException_20040608_H
17 jgs 82
18 woo409 757 #include "system_dep.h"
19 robwdcock 682 #include "esysUtils/EsysException.h"
20 jgs 474
21 jgs 82 #include <string>
22    
23     namespace escript {
24    
25     /**
26     \brief
27 gross 1364 TransportProblemException exception class.
28 jgs 82
29     Description:
30 gross 1364 TransportProblemException exception class.
31 jgs 82 The class provides a public function returning the exception name
32     */
33 gross 1364 class TransportProblemException : public esysUtils::EsysException {
34 jgs 82
35     public:
36     /**
37     \brief
38     Default constructor for the exception.
39     */
40 woo409 757 ESCRIPT_DLL_API
41 gross 1364 TransportProblemException() : EsysException() {}
42 jgs 82 /**
43     \brief
44     Constructor for the exception.
45     */
46 woo409 757 ESCRIPT_DLL_API
47 gross 1364 TransportProblemException(const char *cstr) : EsysException(cstr) {}
48 jgs 82 /**
49     \brief
50     Constructor for the exception.
51     */
52 woo409 757 ESCRIPT_DLL_API
53 gross 1364 TransportProblemException(const std::string &str) : EsysException(str) {}
54 phornby 1020
55     /// Destructor
56     ESCRIPT_DLL_API
57 gross 1364 virtual ~TransportProblemException() throw() {}
58 jgs 82 /**
59     \brief
60     Returns the name of the exception.
61     */
62 woo409 757 ESCRIPT_DLL_API
63 gross 1364 virtual std::string exceptionName() const {return "TransportProblemException";}
64 jgs 82 };
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