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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

trunk/escript/src/SystemMatrixException.h revision 1312 by ksteube, Mon Sep 24 06:18:44 2007 UTC trunk/escript/src/TransportProblemException.h revision 1364 by gross, Mon Dec 17 07:22:45 2007 UTC
# Line 1  Line 1 
1    
2  /* $Id$ */  /* $Id:$ */
3    
4  /*******************************************************  /*******************************************************
5   *   *
  *           Copyright 2003-2007 by ACceSS MNRF  
6   *       Copyright 2007 by University of Queensland   *       Copyright 2007 by University of Queensland
7   *   *
8   *                http://esscc.uq.edu.au   *                http://esscc.uq.edu.au
# Line 13  Line 12 
12   *   *
13   *******************************************************/   *******************************************************/
14    
15  #if !defined  escript_SystemMatrixException_20040608_H  #if !defined  escript_TransportProblemException_20040608_H
16  #define escript_SystemMatrixException_20040608_H  #define escript_TransportProblemException_20040608_H
17    
18  #include "system_dep.h"  #include "system_dep.h"
19  #include "esysUtils/EsysException.h"  #include "esysUtils/EsysException.h"
# Line 25  namespace escript { Line 24  namespace escript {
24    
25  /**  /**
26     \brief     \brief
27     SystemMatrixException exception class.     TransportProblemException exception class.
28    
29     Description:     Description:
30     SystemMatrixException exception class.     TransportProblemException exception class.
31     The class provides a public function returning the exception name     The class provides a public function returning the exception name
32  */  */
33  class SystemMatrixException : public esysUtils::EsysException {  class TransportProblemException : public esysUtils::EsysException {
34    
35   public:   public:
36    /**    /**
# Line 39  class SystemMatrixException : public esy Line 38  class SystemMatrixException : public esy
38       Default constructor for the exception.       Default constructor for the exception.
39    */    */
40    ESCRIPT_DLL_API    ESCRIPT_DLL_API
41    SystemMatrixException() : EsysException() {}    TransportProblemException() : EsysException() {}
42    /**    /**
43       \brief       \brief
44       Constructor for the exception.       Constructor for the exception.
45    */    */
46    ESCRIPT_DLL_API    ESCRIPT_DLL_API
47    SystemMatrixException(const char *cstr) : EsysException(cstr) {}    TransportProblemException(const char *cstr) : EsysException(cstr) {}
48    /**    /**
49       \brief       \brief
50       Constructor for the exception.       Constructor for the exception.
51    */    */
52    ESCRIPT_DLL_API    ESCRIPT_DLL_API
53    SystemMatrixException(const std::string &str) : EsysException(str) {}    TransportProblemException(const std::string &str) : EsysException(str) {}
54    
55    /// Destructor    /// Destructor
56    ESCRIPT_DLL_API    ESCRIPT_DLL_API
57    virtual ~SystemMatrixException() throw() {}    virtual ~TransportProblemException() throw() {}
58    /**    /**
59       \brief       \brief
60       Returns the name of the exception.       Returns the name of the exception.
61    */    */
62    ESCRIPT_DLL_API    ESCRIPT_DLL_API
63    virtual std::string exceptionName() const {return "SystemMatrixException";}    virtual std::string exceptionName() const {return "TransportProblemException";}
64  };  };
65    
66  } // end of namespace  } // end of namespace

Legend:
Removed from v.1312  
changed lines
  Added in v.1364

  ViewVC Help
Powered by ViewVC 1.1.26