/[escript]/branches/refine/buckley/src/BuckleyException.h
ViewVC logotype

Diff of /branches/refine/buckley/src/BuckleyException.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

branches/refine/buckley/src/RDomainException.h revision 3668 by jfenwick, Wed Nov 16 01:49:46 2011 UTC branches/refine/buckley/src/BuckleyException.h revision 3671 by jfenwick, Wed Nov 16 04:01:53 2011 UTC
# Line 23  namespace buckley Line 23  namespace buckley
23    
24    /**    /**
25    \brief    \brief
26    RDomainException exception class.    BuckleyException exception class.
27    
28    Description:    Description:
29    RDomainException exception class.    BuckleyException exception class.
30    The class provides a public function returning the exception name    The class provides a public function returning the exception name
31    */    */
32    class RDomainException : public esysUtils::EsysException    class BuckleyException : public esysUtils::EsysException
33    {    {
34    
35    protected:    protected:
# Line 42  namespace buckley Line 42  namespace buckley
42      Default constructor for the exception.      Default constructor for the exception.
43      */      */
44      BUCKLEY_DLL_API      BUCKLEY_DLL_API
45      RDomainException() : Parent() { updateMessage();}      BuckleyException() : Parent() { updateMessage();}
46      /**      /**
47      \brief      \brief
48      Constructor for the exception.      Constructor for the exception.
49      */      */
50      BUCKLEY_DLL_API      BUCKLEY_DLL_API
51      RDomainException(const char *cstr) : Parent(cstr) { updateMessage();}      BuckleyException(const char *cstr) : Parent(cstr) { updateMessage();}
52      /**      /**
53      \brief      \brief
54      Constructor for the exception.      Constructor for the exception.
55      */      */
56      BUCKLEY_DLL_API      BUCKLEY_DLL_API
57      RDomainException(const std::string &str) :      BuckleyException(const std::string &str) :
58      Parent(str) { updateMessage();}      Parent(str) { updateMessage();}
59      /**      /**
60      \brief      \brief
61      Copy Constructor for the exception.      Copy Constructor for the exception.
62      */      */
63      BUCKLEY_DLL_API      BUCKLEY_DLL_API
64      RDomainException(const RDomainException &other) : Parent(other)      BuckleyException(const BuckleyException &other) : Parent(other)
65        {        {
66          updateMessage();          updateMessage();
67        }        }
68    
69      /// Destructor      /// Destructor
70      BUCKLEY_DLL_API      BUCKLEY_DLL_API
71      virtual ~RDomainException() THROW(NO_ARG) {}      virtual ~BuckleyException() THROW(NO_ARG) {}
72    
73      /**      /**
74      \brief      \brief
75      Assignment operator.      Assignment operator.
76      */      */
77      BUCKLEY_DLL_API      BUCKLEY_DLL_API
78      inline RDomainException &      inline BuckleyException &
79      operator=(const RDomainException &other ) THROW(NO_ARG)      operator=(const BuckleyException &other ) THROW(NO_ARG)
80         {         {
81           Parent::operator=(other);           Parent::operator=(other);
82           updateMessage();           updateMessage();

Legend:
Removed from v.3668  
changed lines
  Added in v.3671

  ViewVC Help
Powered by ViewVC 1.1.26