libwreport
2.4
|
Base class for DB-All.e exceptions. More...
#include <error.h>
Public Member Functions | |
virtual ErrorCode | code () const =0 throw () |
Exception-specific error code. | |
virtual const char * | what () const =0 throw () |
Error message. |
Static Public Member Functions | |
static const char * | strerror (ErrorCode code) |
String description for an error code. |
Base class for DB-All.e exceptions.
|
pure virtual |
Exception-specific error code.
This is useful to map C++ exceptions to C or Fortran error codes
Implemented in wreport::error_domain, wreport::error_unimplemented, wreport::error_regexp, wreport::error_parse, wreport::error_consistency, wreport::error_system, wreport::error_toolong, wreport::error_handles, wreport::error_alloc, wreport::error_type, and wreport::error_notfound.