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

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

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

revision 682 by robwdcock, Mon Mar 27 02:43:09 2006 UTC revision 1022 by phornby, Tue Mar 13 02:25:53 2007 UTC
# Line 12  Line 12 
12    
13  #if !defined  escript_DataException_20040324_H  #if !defined  escript_DataException_20040324_H
14  #define escript_DataException_20040324_H  #define escript_DataException_20040324_H
15    #include "system_dep.h"
16    
17  #include "esysUtils/EsysException.h"  #include "esysUtils/EsysException.h"
18    
# Line 34  class DataException:public esysUtils::Es Line 35  class DataException:public esysUtils::Es
35       \brief       \brief
36       Default constructor for the exception.       Default constructor for the exception.
37    */    */
38      ESCRIPT_DLL_API
39    DataException() : esysUtils::EsysException() {}    DataException() : esysUtils::EsysException() {}
40    /**    /**
41       \brief       \brief
42       Constructor for the exception.       Constructor for the exception.
43    */    */
44      ESCRIPT_DLL_API
45    DataException(const char *cstr) : esysUtils::EsysException(cstr) {}    DataException(const char *cstr) : esysUtils::EsysException(cstr) {}
46    /**    /**
47       \brief       \brief
48       Constructor for the exception.       Constructor for the exception.
49    */    */
50      ESCRIPT_DLL_API
51    DataException(const std::string &str) : esysUtils::EsysException(str) {}    DataException(const std::string &str) : esysUtils::EsysException(str) {}
52    
53      /// Destructor
54      ESCRIPT_DLL_API
55      virtual ~DataException() throw() {}
56    
57    /**    /**
58       \brief       \brief
59       Returns the name of the exception.       Returns the name of the exception.
60    */    */
61      ESCRIPT_DLL_API
62    virtual std::string exceptionName() const {return "DataException";}    virtual std::string exceptionName() const {return "DataException";}
63  };  };
64    

Legend:
Removed from v.682  
changed lines
  Added in v.1022

  ViewVC Help
Powered by ViewVC 1.1.26