This exception is thrown when an input file has wrong format or a data representation is not legal.
|
|
| FormatError (const FormatError &error) throw () |
| | Copy constructor.
|
| |
|
| FormatError (const char *message) throw () |
| | Constructor.
|
| |
|
| FormatError (const std::string &message) throw () |
| | Constructor.
|
| |
|
| FormatError (const char *message, const std::string &file, int line=0) throw () |
| | Constructor.
|
| |
|
| FormatError (const std::string &message, const std::string &file, int line=0) throw () |
| | Constructor.
|
| |
|
virtual | ~FormatError () throw () |
| | Virtual destructor.
|
| |
|
void | line (int line) throw () |
| | Set the line number.
|
| |
|
void | message (const char *message) throw () |
| | Set the error message.
|
| |
|
void | message (const std::string &message) throw () |
| | Set the error message.
|
| |
|
void | file (const std::string &file) throw () |
| | Set the file name.
|
| |
| int | line () const throw () |
| | Returns the line number. More...
|
| |
|
const std::string & | message () const throw () |
| | Returns the error message.
|
| |
| const std::string & | file () const throw () |
| | Returns the filename. More...
|
| |
| virtual const char * | what () const throw () |
| | Returns a short error message. More...
|
| |
|
| Exception () throw () |
| | Constructor.
|
| |
|
virtual | ~Exception () throw () |
| | Virtual destructor.
|
| |