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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1312 - (hide annotations)
Mon Sep 24 06:18:44 2007 UTC (12 years, 1 month ago) by ksteube
Original Path: trunk/escript/src/SystemMatrixException.h
File MIME type: text/plain
File size: 1607 byte(s)
The MPI branch is hereby closed. All future work should be in trunk.

Previously in revision 1295 I merged the latest changes to trunk into trunk-mpi-branch.
In this revision I copied all files from trunk-mpi-branch over the corresponding
trunk files. I did not use 'svn merge', it was a copy.

1 jgs 474
2 ksteube 1312 /* $Id$ */
3    
4     /*******************************************************
5     *
6     * Copyright 2003-2007 by ACceSS MNRF
7     * Copyright 2007 by University of Queensland
8     *
9     * http://esscc.uq.edu.au
10     * Primary Business: Queensland, Australia
11     * Licensed under the Open Software License version 3.0
12     * http://www.opensource.org/licenses/osl-3.0.php
13     *
14     *******************************************************/
15    
16 jgs 82 #if !defined escript_SystemMatrixException_20040608_H
17     #define escript_SystemMatrixException_20040608_H
18    
19 woo409 757 #include "system_dep.h"
20 robwdcock 682 #include "esysUtils/EsysException.h"
21 jgs 474
22 jgs 82 #include <string>
23    
24     namespace escript {
25    
26     /**
27     \brief
28     SystemMatrixException exception class.
29    
30     Description:
31     SystemMatrixException exception class.
32     The class provides a public function returning the exception name
33     */
34 jgs 480 class SystemMatrixException : public esysUtils::EsysException {
35 jgs 82
36     public:
37     /**
38     \brief
39     Default constructor for the exception.
40     */
41 woo409 757 ESCRIPT_DLL_API
42 jgs 82 SystemMatrixException() : EsysException() {}
43     /**
44     \brief
45     Constructor for the exception.
46     */
47 woo409 757 ESCRIPT_DLL_API
48 jgs 82 SystemMatrixException(const char *cstr) : EsysException(cstr) {}
49     /**
50     \brief
51     Constructor for the exception.
52     */
53 woo409 757 ESCRIPT_DLL_API
54 jgs 82 SystemMatrixException(const std::string &str) : EsysException(str) {}
55 phornby 1020
56     /// Destructor
57     ESCRIPT_DLL_API
58 phornby 1022 virtual ~SystemMatrixException() throw() {}
59 jgs 82 /**
60     \brief
61     Returns the name of the exception.
62     */
63 woo409 757 ESCRIPT_DLL_API
64 jgs 82 virtual std::string exceptionName() const {return "SystemMatrixException";}
65     };
66    
67     } // end of namespace
68     #endif

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26