EPICS ARCHIVER V4
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups
Public Types | Public Member Functions | List of all members
ArchiveException Class Reference

Exception used by older LibIO code. More...

#include <ArchiveException.h>

Inheritance diagram for ArchiveException:
GenericException

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
 
- Public Member Functions inherited from GenericException
 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)
 

Detailed Description

Exception used by older LibIO code.


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