EPICS ARCHIVER V4
|
Exception used by older LibIO code. More...
#include <ArchiveException.h>
Public Types | |
enum | Code { NoError, Fail, Invalid, OpenError, CreateError, ReadError, WriteError, Unsupported } |
Public Member Functions | |
ArchiveException (const char *sourcefile, size_t line, Code code) | |
ArchiveException (const char *sourcefile, size_t line, Code code, const std::string &detail) | |
Code | getErrorCode () const |
![]() | |
GenericException (const char *sourcefile, size_t line) | |
Construct with file and line info. | |
GenericException (const char *sourcefile, size_t line, const char *format,...) __attribute__((format(printf | |
Construct with file, line info and printf-type arguments. | |
virtual | ~GenericException () throw () |
Virtual destructor to allow inheritance. | |
virtual const char * | what () const throw () |
Retrieve an explanatory string. More... | |
const char * | getSourceFile () const |
Source file where exception was thrown. | |
size_t | getSourceLine () const |
Line in source file where exception was thrown. | |
const std::string & | getDetail () const |
Return detail text (if set) | |
Exception used by older LibIO code.