ML Reference
|
This class represents the exceptions that can be thrown while reading from or writing to the persistence stream. More...
#include <mlAbstractPersistenceStream.h>
Public Types | |
enum | ErrorType { IOError, FormatError, InternalError } |
sub types of this exception More... | |
Public Member Functions | |
virtual | ~PersistenceStreamException () |
ErrorType | getErrorType () const |
get exception sub-type | |
virtual std::string | getMessage () const |
get error message | |
Protected Member Functions | |
PersistenceStreamException (ErrorType type, const std::string &msg) | |
you shouldn't create instances of the base class... | |
Protected Attributes | |
ErrorType | _type |
std::string | _msg |
This class represents the exceptions that can be thrown while reading from or writing to the persistence stream.
Definition at line 383 of file mlAbstractPersistenceStream.h.
sub types of this exception
Definition at line 387 of file mlAbstractPersistenceStream.h.
virtual ml::PersistenceStreamException::~PersistenceStreamException | ( | ) | [inline, virtual] |
Definition at line 393 of file mlAbstractPersistenceStream.h.
ml::PersistenceStreamException::PersistenceStreamException | ( | ErrorType | type, |
const std::string & | msg | ||
) | [inline, protected] |
you shouldn't create instances of the base class...
Definition at line 403 of file mlAbstractPersistenceStream.h.
ErrorType ml::PersistenceStreamException::getErrorType | ( | ) | const [inline] |
get exception sub-type
Definition at line 396 of file mlAbstractPersistenceStream.h.
virtual std::string ml::PersistenceStreamException::getMessage | ( | ) | const [inline, virtual] |
get error message
Definition at line 399 of file mlAbstractPersistenceStream.h.
std::string ml::PersistenceStreamException::_msg [protected] |
Definition at line 406 of file mlAbstractPersistenceStream.h.
ErrorType ml::PersistenceStreamException::_type [protected] |
Definition at line 405 of file mlAbstractPersistenceStream.h.