OnixS CME Drop Copy Handler for C++  5.3.0.0
Public Member Functions | List of all members
Error Class Reference

Error. More...

Public Member Functions

 Error (const std::string &source, ErrorCode code)
 Initializes instance with just a code.
 
 Error (const std::string &source, ErrorCode code, const std::string &description)
 Initializes instance with code and description.
 
 Error (const Error &other)
 Initializes as clone of another error.
 
virtual ~Error () throw ()
 Destruction interface.
 
ErrorCode code () const
 Code of error.
 
const char * description () const
 Human readable description of error.
 
const char * source () const
 Origin of the error.
 
virtual const char * what () const throw ()
 Human readable description of error.
 
std::string toString () const
 String presentation of an error.
 
void toString (std::string &) const
 Appends presentation of an error to the string.
 
Erroroperator= (const Error &other)
 Copies error attributes from another instance.
 

Detailed Description

Error.