libwreport 2.1
|
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.
virtual ErrorCode wreport::error::code | ( | ) | const throw () [pure virtual] |
Exception-specific error code.
This is useful to map C++ exceptions to C or Fortran error codes
Implemented in wreport::error_notfound, wreport::error_type, wreport::error_alloc, wreport::error_handles, wreport::error_toolong, wreport::error_system, wreport::error_consistency, wreport::error_parse, wreport::error_regexp, wreport::error_unimplemented, and wreport::error_domain.