/[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 1388 by trankine, Fri Jan 11 07:45:58 2008 UTC
# Line 1  Line 1 
1  /*  
2   ************************************************************  /* $Id$ */
3   *          Copyright 2006 by ACcESS MNRF                   *  
4   *                                                          *  /*******************************************************
5   *              http://www.access.edu.au                    *   *
6   *       Primary Business: Queensland, Australia            *   *           Copyright 2003-2007 by ACceSS MNRF
7   *  Licensed under the Open Software License version 3.0    *   *       Copyright 2007 by University of Queensland
8   *     http://www.opensource.org/licenses/osl-3.0.php       *   *
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  #if !defined  escript_DataException_20040324_H  #if !defined  escript_DataException_20040324_H
17  #define escript_DataException_20040324_H  #define escript_DataException_20040324_H
18    #include "system_dep.h"
19    
20  #include "esysUtils/EsysException.h"  #include "esysUtils/EsysException.h"
21    
# Line 34  class DataException:public esysUtils::Es Line 38  class DataException:public esysUtils::Es
38       \brief       \brief
39       Default constructor for the exception.       Default constructor for the exception.
40    */    */
41      ESCRIPT_DLL_API
42    DataException() : esysUtils::EsysException() {}    DataException() : esysUtils::EsysException() {}
43    /**    /**
44       \brief       \brief
45       Constructor for the exception.       Constructor for the exception.
46    */    */
47      ESCRIPT_DLL_API
48    DataException(const char *cstr) : esysUtils::EsysException(cstr) {}    DataException(const char *cstr) : esysUtils::EsysException(cstr) {}
49    /**    /**
50       \brief       \brief
51       Constructor for the exception.       Constructor for the exception.
52    */    */
53      ESCRIPT_DLL_API
54    DataException(const std::string &str) : esysUtils::EsysException(str) {}    DataException(const std::string &str) : esysUtils::EsysException(str) {}
55    
56      /// Destructor
57      ESCRIPT_DLL_API
58      virtual ~DataException() throw() {}
59    
60    /**    /**
61       \brief       \brief
62       Returns the name of the exception.       Returns the name of the exception.
63    */    */
64      ESCRIPT_DLL_API
65    virtual std::string exceptionName() const {return "DataException";}    virtual std::string exceptionName() const {return "DataException";}
66  };  };
67    

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

  ViewVC Help
Powered by ViewVC 1.1.26