|
MeVisLab Toolbox Reference
|
#include <mlAbstractPersistenceStream.h>
Public Types | |
| enum | ErrorType { IOError , FormatError , InternalError } |
| Subtypes of this exception. More... | |
Public Member Functions | |
| virtual | ~PersistenceStreamException () |
| ErrorType | getErrorType () const |
| Returns exception subtype. | |
| virtual std::string | getMessage () const |
| Returns error message. | |
Protected Member Functions | |
| PersistenceStreamException (ErrorType type, const std::string &msg) | |
| This is set to protected, because you should not 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 389 of file mlAbstractPersistenceStream.h.
Subtypes of this exception.
| Enumerator | |
|---|---|
| IOError | |
| FormatError | |
| InternalError | |
Definition at line 393 of file mlAbstractPersistenceStream.h.
|
inlinevirtual |
Definition at line 399 of file mlAbstractPersistenceStream.h.
|
inlineprotected |
This is set to protected, because you should not create instances of the base class.
Definition at line 409 of file mlAbstractPersistenceStream.h.
Referenced by ml::PersistenceStreamFormatException::PersistenceStreamFormatException(), ml::PersistenceStreamInternalError::PersistenceStreamInternalError(), and ml::PersistenceStreamIOException::PersistenceStreamIOException().
|
inline |
Returns exception subtype.
Definition at line 402 of file mlAbstractPersistenceStream.h.
References _type.
|
inlinevirtual |
Returns error message.
Definition at line 405 of file mlAbstractPersistenceStream.h.
References _msg.
|
protected |
Definition at line 412 of file mlAbstractPersistenceStream.h.
Referenced by getMessage(), and PersistenceStreamException().
|
protected |
Definition at line 411 of file mlAbstractPersistenceStream.h.
Referenced by getErrorType(), and PersistenceStreamException().