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

revision 474 by jgs, Mon Jan 30 04:23:44 2006 UTC 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_SystemMatrixException_20040608_H  #if !defined  escript_SystemMatrixException_20040608_H
14  #define escript_SystemMatrixException_20040608_H  #define escript_SystemMatrixException_20040608_H
15    
16  #include "EsysException.h"  #include "system_dep.h"
17    #include "esysUtils/EsysException.h"
18    
19  #include <string>  #include <string>
20    
# Line 29  namespace escript { Line 28  namespace escript {
28     SystemMatrixException exception class.     SystemMatrixException exception class.
29     The class provides a public function returning the exception name     The class provides a public function returning the exception name
30  */  */
31  class SystemMatrixException:public esysUtils::EsysException {  class SystemMatrixException : public esysUtils::EsysException {
32    
33   public:   public:
34    /**    /**
35       \brief       \brief
36       Default constructor for the exception.       Default constructor for the exception.
37    */    */
38      ESCRIPT_DLL_API
39    SystemMatrixException() : EsysException() {}    SystemMatrixException() : EsysException() {}
40    /**    /**
41       \brief       \brief
42       Constructor for the exception.       Constructor for the exception.
43    */    */
44      ESCRIPT_DLL_API
45    SystemMatrixException(const char *cstr) : EsysException(cstr) {}    SystemMatrixException(const char *cstr) : EsysException(cstr) {}
46    /**    /**
47       \brief       \brief
48       Constructor for the exception.       Constructor for the exception.
49    */    */
50      ESCRIPT_DLL_API
51    SystemMatrixException(const std::string &str) : EsysException(str) {}    SystemMatrixException(const std::string &str) : 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 "SystemMatrixException";}    virtual std::string exceptionName() const {return "SystemMatrixException";}
58  };  };
59    

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

  ViewVC Help
Powered by ViewVC 1.1.26