[ROOT] --> C++Client
The PCREClientError class encapsulates the errors that can happen in a client.
PCREClientError
PCREClientError
Narrow
Report
Report
Report
Throw
Throw
Throw
PCREClientError ( int code , const char * text ) ;
Construct a PCREClientError object with the given code and text.
| code | The error code. |
| text | The error text. |
PCREClientError ( const char * text ) ;
Construct a PCREClientError object with the given text.
| text | The error text. |
static PCREClientError * Narrow ( PCREError * error ) ;
Narrow the type of error, by casting a generic error into a PCREClientError.
| error | The generic error object. |
void Throw ( ) ;
Throw this error to a handler in the client.
static void Throw ( const char * text ,
. . . ) ;
Generate and throw a PCREClientError to the client.
| text | The error description that is to be thrown with the exception. |
static void Throw ( int code ,
const char * text ,
. . . ) ;
Generate and throw a PCREClientError to the client.
| text | The error description that is to be thrown with the exception. |
| code | The error code that is to be thrown with the exception. |
void Report ( ) ;
Report a PCREClientError in the client and terminate.
static void Report ( const char * text ,
. . . ) ;
Generate and report a PCREClientError to the client.
| text | The text to use for the error report. |
static void Report ( int code ,
const char * text ,
. . . ) ;
Generate and report a PCREClientError to the client.
| text | The text to use for the error report. |
| code | The error code to use for the errror report. |