ErrorInfo
and ErrorContext
.
It bundles a message id and optional a list of string parameters for the message.
Public Member Functions | |
ErrorMessage (TyMessageId utMsgId=0) | |
Constructor with just the message id. | |
ErrorMessage (TyMessageId utMsgId, long lParam1) | |
Constructor with a single long parameter. | |
ErrorMessage (TyMessageId utMsgId, unsigned long ulParam1) | |
Constructor with a single unsigned long parameter. | |
ErrorMessage (TyMessageId utMsgId, int iParam1) | |
Constructor with a single int parameter. | |
ErrorMessage (TyMessageId utMsgId, unsigned int uiParam1) | |
Constructor with a single unsigned int parameter. | |
ErrorMessage (TyMessageId utMsgId, const char *cpszParam1) | |
Constructor with a single char * parameter. | |
ErrorMessage (TyMessageId utMsgId, const std::string &crstrParam1) | |
Constructor with a single string parameter. | |
ErrorMessage (TyMessageId utMsgId, const UChar *cpuszParam1) | |
Constructor with a single UChar * parameter. | |
ErrorMessage (TyMessageId utMsgId, const icu::UnicodeString &crustrParam1) | |
Constructor with a single UnicodeString parameter. | |
ErrorMessage (TyMessageId utMsgId, const double dParam1) | |
Constructor with a single double parameter. | |
ErrorMessage (TyMessageId utMsgId, const std::vector< std::string > &crvecParams) | |
Constructor with a full parameter vector. | |
template<class T> | |
void | addParam (T p) |
TyMessageId | getMessageID () const |
accessor for the message id | |
const std::vector< std::string > & | getMessageParams () const |
accessor for the file name | |
std::string | asString () const |
formatted for error output of the context to string | |
void | reset (void) |
Reset method for clearing any error notifications. |
|
Constructor with just the message id.
|
|
Constructor with a single long parameter.
|
|
Constructor with a single unsigned long parameter.
|
|
Constructor with a single int parameter.
|
|
Constructor with a single unsigned int parameter.
|
|
Constructor with a single char * parameter.
|
|
Constructor with a single string parameter.
|
|
Constructor with a single UChar * parameter.
|
|
Constructor with a single UnicodeString parameter.
|
|
Constructor with a single double parameter.
|
|
Constructor with a full parameter vector.
|
|
|
|
accessor for the message id
|
|
accessor for the file name
|
|
formatted for error output of the context to string
|
|
Reset method for clearing any error notifications.
|