/[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/escript/src/Data/DataException.h revision 468 by jgs, Wed Jan 25 06:50:39 2006 UTC trunk/escript/src/DataException.h revision 757 by woo409, Mon Jun 26 13:12:56 2006 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"
18    
 #include "EsysException.h"  
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      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       \brief       \brief
54       Returns the name of the exception.       Returns the name of the exception.
55    */    */
56      ESCRIPT_DLL_API
57    virtual std::string exceptionName() const {return "DataException";}    virtual std::string exceptionName() const {return "DataException";}
58  };  };
59    

Legend:
Removed from v.468  
changed lines
  Added in v.757

  ViewVC Help
Powered by ViewVC 1.1.26