/[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

trunk/esys2/escript/src/Data/DataException.h revision 82 by jgs, Tue Oct 26 06:53:54 2004 UTC trunk/escript/src/DataException.h revision 1022 by phornby, Tue Mar 13 02:25:53 2007 UTC
# Line 1  Line 1 
1  /*  /*
2   *****************************************************************************   ************************************************************
3   *                                                                           *   *          Copyright 2006 by ACcESS MNRF                   *
4   *       COPYRIGHT  ACcESS  -  All Rights Reserved                           *   *                                                          *
5   *                                                                           *   *              http://www.access.edu.au                    *
6   * This software is the property of ACcESS. No part of this code             *   *       Primary Business: Queensland, Australia            *
7   * may be copied in any form or by any means without the expressed written   *   *  Licensed under the Open Software License version 3.0    *
8   * consent of ACcESS.  Copying, use or modification of this software         *   *     http://www.opensource.org/licenses/osl-3.0.php       *
9   * by any unauthorised person is illegal unless that person has a software   *   *                                                          *
10   * license agreement with ACcESS.                                            *   ************************************************************
  *                                                                           *  
  *****************************************************************************  
11  */  */
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    
19  #include <string>  #include <string>
20    
21  namespace escript {  namespace escript {
# Line 35  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    DataException() : EsysException() {}    ESCRIPT_DLL_API
39      DataException() : esysUtils::EsysException() {}
40    /**    /**
41       \brief       \brief
42       Constructor for the exception.       Constructor for the exception.
43    */    */
44    DataException(const char *cstr) : EsysException(cstr) {}    ESCRIPT_DLL_API
45      DataException(const char *cstr) : esysUtils::EsysException(cstr) {}
46    /**    /**
47       \brief       \brief
48       Constructor for the exception.       Constructor for the exception.
49    */    */
50    DataException(const std::string &str) : EsysException(str) {}    ESCRIPT_DLL_API
51      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.82  
changed lines
  Added in v.1022

  ViewVC Help
Powered by ViewVC 1.1.26