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

trunk/escript/src/SystemMatrixException.h revision 474 by jgs, Mon Jan 30 04:23:44 2006 UTC temp/escript/src/TransportProblemException.h revision 1387 by trankine, Fri Jan 11 07:45:26 2008 UTC
# Line 1  Line 1 
 /*  
  *****************************************************************************  
  *                                                                           *  
  *       COPYRIGHT  ACcESS  -  All Rights Reserved                           *  
  *                                                                           *  
  * This software is the property of ACcESS. No part of this code             *  
  * may be copied in any form or by any means without the expressed written   *  
  * consent of ACcESS.  Copying, use or modification of this software         *  
  * by any unauthorised person is illegal unless that person has a software   *  
  * license agreement with ACcESS.                                            *  
  *                                                                           *  
  *****************************************************************************  
 */  
1    
2  #if !defined  escript_SystemMatrixException_20040608_H  /* $Id:$ */
3  #define escript_SystemMatrixException_20040608_H  
4    /*******************************************************
5     *
6     *       Copyright 2007 by University of Queensland
7     *
8     *                http://esscc.uq.edu.au
9     *        Primary Business: Queensland, Australia
10     *  Licensed under the Open Software License version 3.0
11     *     http://www.opensource.org/licenses/osl-3.0.php
12     *
13     *******************************************************/
14    
15  #include "EsysException.h"  #if !defined  escript_TransportProblemException_20040608_H
16    #define escript_TransportProblemException_20040608_H
17    
18    #include "system_dep.h"
19    #include "esysUtils/EsysException.h"
20    
21  #include <string>  #include <string>
22    
# Line 23  namespace escript { Line 24  namespace escript {
24    
25  /**  /**
26     \brief     \brief
27     SystemMatrixException exception class.     TransportProblemException exception class.
28    
29     Description:     Description:
30     SystemMatrixException exception class.     TransportProblemException exception class.
31     The class provides a public function returning the exception name     The class provides a public function returning the exception name
32  */  */
33  class SystemMatrixException:public esysUtils::EsysException {  class TransportProblemException : public esysUtils::EsysException {
34    
35   public:   public:
36    /**    /**
37       \brief       \brief
38       Default constructor for the exception.       Default constructor for the exception.
39    */    */
40    SystemMatrixException() : EsysException() {}    ESCRIPT_DLL_API
41      TransportProblemException() : EsysException() {}
42    /**    /**
43       \brief       \brief
44       Constructor for the exception.       Constructor for the exception.
45    */    */
46    SystemMatrixException(const char *cstr) : EsysException(cstr) {}    ESCRIPT_DLL_API
47      TransportProblemException(const char *cstr) : EsysException(cstr) {}
48    /**    /**
49       \brief       \brief
50       Constructor for the exception.       Constructor for the exception.
51    */    */
52    SystemMatrixException(const std::string &str) : EsysException(str) {}    ESCRIPT_DLL_API
53      TransportProblemException(const std::string &str) : EsysException(str) {}
54    
55      /// Destructor
56      ESCRIPT_DLL_API
57      virtual ~TransportProblemException() throw() {}
58    /**    /**
59       \brief       \brief
60       Returns the name of the exception.       Returns the name of the exception.
61    */    */
62    virtual std::string exceptionName() const {return "SystemMatrixException";}    ESCRIPT_DLL_API
63      virtual std::string exceptionName() const {return "TransportProblemException";}
64  };  };
65    
66  } // end of namespace  } // end of namespace

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

  ViewVC Help
Powered by ViewVC 1.1.26