Ignore:
Timestamp:
10/13/10 15:25:55 (14 years ago)
Author:
hozdoba
Message:

Début Interface c<->fortran

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XMLIO_V2/dev/dev_rv/src/XMLIO/exception.hpp

    r115 r131  
    1414      public : 
    1515 
    16          XMLIOException(int _code): Exception(_code) 
    17          { /* Ne rien faire de plus */ } 
    18          XMLIOException(const std::string& _msg, int _code): Exception(_msg, _code) 
    19          { /* Ne rien faire de plus */ } 
    20          XMLIOException(const std::string& _msg, const std::string& _arg, int _code): Exception(_msg, _arg, _code) 
    21          { /* Ne rien faire de plus */ } 
    22          XMLIOException(const std::string& _msg, const Poco::Exception& _exc, int _code): Exception(_msg, _exc, _code) 
     16         XMLIOException(int _code) 
     17            : Exception(_code) 
    2318         { /* Ne rien faire de plus */ } 
    2419 
     20         XMLIOException(const std::string& _msg, int _code) 
     21            : Exception(_msg, _code) 
     22         { /* Ne rien faire de plus */ } 
    2523 
    26          XMLIOException(const XMLIOException& _exc): Exception(_exc) 
     24         XMLIOException(const std::string& _msg, const std::string& _arg, int _code) 
     25            : Exception(_msg, _arg, _code) 
     26         { /* Ne rien faire de plus */ } 
     27 
     28         XMLIOException(const std::string& _msg, const Poco::Exception& _exc, int _code) 
     29            : Exception(_msg, _exc, _code) 
     30         { /* Ne rien faire de plus */ } 
     31 
     32         XMLIOException(const XMLIOException& _exc) 
     33            : Exception(_exc) 
    2734         { /* Ne rien faire de plus */ } 
    2835 
     
    4451   { 
    4552      public : 
    46          XMLIOUndefinedValueException(const std::string& _msg): XMLIOException(_msg, 1001) {} 
    47          const char* name(void) const throw() { return ("XMLIO>UndefinedValueException"); } 
     53         XMLIOUndefinedValueException(const std::string& _msg) 
     54            : XMLIOException(_msg, 1001) 
     55         { /* Ne rien faire de plus */ } 
     56 
     57         const char* name(void) const throw() 
     58         { return ("XMLIO>UndefinedValueException"); } 
    4859 
    4960   }; //class XMLIOUndefinedException 
     
    5263   { 
    5364      public : 
    54          XMLIOStreamException(const std::string& _msg): XMLIOException(_msg, 1002) {} 
    55          const char* name(void) const throw() { return ("XMLIO>StreamException"); } 
     65         XMLIOStreamException(const std::string& _msg) 
     66            : XMLIOException(_msg, 1002) 
     67         { /* Ne rien faire de plus */ } 
     68 
     69         const char* name(void) const throw() 
     70         { return ("XMLIO>StreamException"); } 
    5671 
    5772   }; //class XMLIOStreamException 
     
    6075   { 
    6176      public : 
    62          XMLParsingException(const std::string& _msg): XMLIOException(_msg, 1003) {} 
    63          const char* name(void) const throw() { return ("XMLIO>XMLParsingException"); } 
     77         XMLParsingException(const std::string& _msg) 
     78            : XMLIOException(_msg, 1003) 
     79         { /* Ne rien faire de plus */ } 
     80 
     81         const char* name(void) const throw() 
     82         { return ("XMLIO>XMLParsingException"); } 
    6483 
    6584   }; //class XMLParsingException 
     
    6887   { 
    6988      public : 
    70          XMLIOIncompatibleTypeException(const std::string& _msg): XMLIOException(_msg, 1003) {} 
    71          const char* name(void) const throw() { return ("XMLIO>XMLIOIncompatibeTypeException"); } 
     89         XMLIOIncompatibleTypeException(const std::string& _msg) 
     90            : XMLIOException(_msg, 1003) 
     91         { /* Ne rien faire de plus */ } 
     92 
     93         const char* name(void) const throw() 
     94         { return ("XMLIO>XMLIOIncompatibeTypeException"); } 
    7295 
    7396   }; //class XMLIOIncompatibleTypeException 
Note: See TracChangeset for help on using the changeset viewer.