/[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/Data/SystemMatrixException.h revision 155 by jgs, Wed Nov 9 02:02:19 2005 UTC trunk/escript/src/SystemMatrixException.h revision 1312 by ksteube, Mon Sep 24 06:18:44 2007 UTC
# Line 1  Line 1 
1  /*  
2   *****************************************************************************  /* $Id$ */
3   *                                                                           *  
4   *       COPYRIGHT  ACcESS  -  All Rights Reserved                           *  /*******************************************************
5   *                                                                           *   *
6   * This software is the property of ACcESS. No part of this code             *   *           Copyright 2003-2007 by ACceSS MNRF
7   * may be copied in any form or by any means without the expressed written   *   *       Copyright 2007 by University of Queensland
8   * consent of ACcESS.  Copying, use or modification of this software         *   *
9   * by any unauthorised person is illegal unless that person has a software   *   *                http://esscc.uq.edu.au
10   * license agreement with ACcESS.                                            *   *        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_SystemMatrixException_20040608_H  #if !defined  escript_SystemMatrixException_20040608_H
17  #define escript_SystemMatrixException_20040608_H  #define escript_SystemMatrixException_20040608_H
18    
19    #include "system_dep.h"
20  #include "esysUtils/EsysException.h"  #include "esysUtils/EsysException.h"
21    
22  #include <string>  #include <string>
23    
24  namespace escript {  namespace escript {
# Line 28  namespace escript { Line 31  namespace escript {
31     SystemMatrixException exception class.     SystemMatrixException exception class.
32     The class provides a public function returning the exception name     The class provides a public function returning the exception name
33  */  */
34  class SystemMatrixException:public esysUtils::EsysException {  class SystemMatrixException : public esysUtils::EsysException {
35    
36   public:   public:
37    /**    /**
38       \brief       \brief
39       Default constructor for the exception.       Default constructor for the exception.
40    */    */
41      ESCRIPT_DLL_API
42    SystemMatrixException() : EsysException() {}    SystemMatrixException() : EsysException() {}
43    /**    /**
44       \brief       \brief
45       Constructor for the exception.       Constructor for the exception.
46    */    */
47      ESCRIPT_DLL_API
48    SystemMatrixException(const char *cstr) : EsysException(cstr) {}    SystemMatrixException(const char *cstr) : EsysException(cstr) {}
49    /**    /**
50       \brief       \brief
51       Constructor for the exception.       Constructor for the exception.
52    */    */
53      ESCRIPT_DLL_API
54    SystemMatrixException(const std::string &str) : EsysException(str) {}    SystemMatrixException(const std::string &str) : EsysException(str) {}
55    
56      /// Destructor
57      ESCRIPT_DLL_API
58      virtual ~SystemMatrixException() throw() {}
59    /**    /**
60       \brief       \brief
61       Returns the name of the exception.       Returns the name of the exception.
62    */    */
63      ESCRIPT_DLL_API
64    virtual std::string exceptionName() const {return "SystemMatrixException";}    virtual std::string exceptionName() const {return "SystemMatrixException";}
65  };  };
66    

Legend:
Removed from v.155  
changed lines
  Added in v.1312

  ViewVC Help
Powered by ViewVC 1.1.26