ML Reference
ml::PersistenceStreamFormatException Class Reference

#include <mlAbstractPersistenceStream.h>

Inheritance diagram for ml::PersistenceStreamFormatException:
ml::PersistenceStreamException

Public Member Functions

 PersistenceStreamFormatException (const std::string &msg)
Public Member Functions inherited from ml::PersistenceStreamException
virtual ~PersistenceStreamException ()
ErrorType getErrorType () const
 Returns exception subtype.
virtual std::string getMessage () const
 Returns error message.

Additional Inherited Members

Public Types inherited from ml::PersistenceStreamException
enum  ErrorType { IOError , FormatError , InternalError }
 Subtypes of this exception. More...
Protected Member Functions inherited from ml::PersistenceStreamException
 PersistenceStreamException (ErrorType type, const std::string &msg)
 This is set to protected, because you should not create instances of the base class.
Protected Attributes inherited from ml::PersistenceStreamException
ErrorType _type
std::string _msg

Detailed Description

Derived class. This exception usually denotes errors that cannot be fixed by the user, e.g., because there is an syntax error in the saved file.

Definition at line 426 of file mlAbstractPersistenceStream.h.

Constructor & Destructor Documentation

◆ PersistenceStreamFormatException()

ml::PersistenceStreamFormatException::PersistenceStreamFormatException ( const std::string & msg)
inline

The documentation for this class was generated from the following file: