general file corruption error: thrown if a file to be used is not interpretable More...

#include "Exception.hpp"

+ Inheritance diagram for FileCorrupt:

Public Member Functions

 FileCorrupt (const char *errorMessage)
- Public Member Functions inherited from Base
 Base (const char *errorMessage, ErrorCode::Type errorCode=ErrorCode::unknown)
 Base (const Base &ref)
ErrorCode::Type errorCode () const
 returns the error code
const char * errorMessage () const
 returns the actual error message
const char * what () const _GLIBCXX_USE_NOEXCEPT
 returns the full error message including the error code: "Error XXXX: Text..."

Protected Member Functions

 FileCorrupt (const char *errorMessage, ErrorCode::Type code)
 Constructor for child classes.

Additional Inherited Members

- Protected Attributes inherited from Base
ErrorCode::Type e_Code
unsigned u_MessagePos

Detailed Description

general file corruption error: thrown if a file to be used is not interpretable