Changeset 3586 in Sophya for trunk/SophyaLib


Ignore:
Timestamp:
Mar 5, 2009, 2:26:06 PM (17 years ago)
Author:
ansari
Message:

Adaptation suite modif exceptions SOPHYA heritant de std::exception , Reza 05/03/2009

Location:
trunk/SophyaLib/SysTools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/SysTools/cexpre.h

    r2598 r3586  
    2020class CExprException : public PException {
    2121  public:
    22   explicit CExprException(const char * m) : PException(m) {}
    23   explicit CExprException(const string& m) : PException(m) {}
     22  explicit CExprException(const char * m) throw() : PException(m) {}
     23  explicit CExprException(const string& m) throw() : PException(m) {}
    2424};
    2525
  • trunk/SophyaLib/SysTools/rpneval.h

    r2598 r3586  
    2222class RPNExprException : public PException {
    2323  public:
    24   explicit RPNExprException(const char * m) : PException(m) {}
    25   explicit RPNExprException(const string& m) :  PException(m) {}
     24  explicit RPNExprException(const char * m) throw() : PException(m) {}
     25  explicit RPNExprException(const string& m) throw() :  PException(m) {}
    2626};
    2727
  • trunk/SophyaLib/SysTools/zthread.h

    r3219 r3586  
    2323class ZThreadExc : public PException {
    2424public:
    25   explicit ZThreadExc(const string& m, int id=0) : PException(m,id) {}
     25  explicit ZThreadExc(const string& m, int id=0) throw() : PException(m,id) {}
     26  explicit ZThreadExc(const char* m, int id=0) throw() : PException(m,id) {}
    2627};
    2728
Note: See TracChangeset for help on using the changeset viewer.