#include <capiexception.h>
Inheritance diagram for CapiMsgError:
Public Member Functions | |
CapiMsgError (unsigned info, string errormsg, string function_name) | |
Constructor. Create an object, print error message and abort if severity FATAL was chosen. | |
virtual string | message () |
Return nice formatted error message. | |
Protected Attributes | |
unsigned | info |
error code given by CAPI |
This exception serves as a way to communicate errors indicated by CAPI to the application. These are mostly errors indicated from CAPI_PUT_MESSAGE or *_CONF messages.
It includes also the error code given by CAPI in the info attribute.
|
Constructor. Create an object, print error message and abort if severity FATAL was chosen.
|
|
Return nice formatted error message. Returns the string "Classname: error message occured in function()"
Reimplemented from CapiError.
|
|
error code given by CAPI
|