3 #ifndef __ARCHIVEEXCEPTION_H__
4 #define __ARCHIVEEXCEPTION_H__
11 #include "tools/GenericException.h"
34 Code code,
const std::string& detail);
39 Code getErrorCode ()
const
48 #define throwArchiveException(code) \
49 throw ArchiveException(__FILE__, __LINE__,ArchiveException::code)
50 #define throwDetailedArchiveException(code,detail) \
51 throw ArchiveException(__FILE__, __LINE__,ArchiveException::code, detail)
53 #endif //__ARCHIVEEXCEPTION_H__
Exception used by older LibIO code.
Definition: ArchiveException.h:16
Generic Exception: Base class for exceptions.
Definition: GenericException.h:45