[ROOT] --> C++Client
The Internal error class encapsulates the errors that can thrown to a client due to internal errors.
PCREInternalError
PCREInternalError
Narrow
Report
Report
Report
Throw
Throw
Throw
public PCREInternalError ( int code ,
const char * text ) ;
Construct an InternalError with the given code and text.
| code | The error code. |
| text | The error text. |
public PCREInternalError ( const char * text ) ;
Construct an InternalError with the given text.
| text | The error text. |
static PCREInternalError * Narrow ( PCREError * error ) ;
Narrow the type of error, by casting a generic error into an internal error.
| error | The generic error object. |
void Throw ( ) ;
static void Throw ( const char * text ,
. . . ) ;
Generate and throw an internal error 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 an internal error 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 an InternalError to the client and terminate.
static void Report ( const char * text ,
. . . ) ;
Generate and report an InternalError to the client.
| text | The text to use for the error report. |
static void Report ( int code ,
const char * text ,
. . . ) ;
Generate and report an InternalError to the client.
| text | The text to use for the error report. |
| code | The error code to use for the error report. |