[ROOT] --> C++Client
The Fatal error class encapsulates the errors that can happen in the Client / Server process.
PCREFatalError
PCREFatalError
Narrow
Report
Report
Report
Throw
Throw
Throw
public PCREFatalError ( int code ,
const char * text ) ;
Construct a FatalError with the given code and text.
| code | The error code. |
| text | The error text. |
public PCREFatalError ( const char * text ) ;
Construct a FatalErrorwith the given text.
| text | The error text. |
public static PCREFatalError * Narrow ( PCREError * error ) ;
Narrow the type of error, by casting a generic error into a fatal error.
| error | The generic error object. |
public void Throw ( ) ;
public static void Throw ( const char * text ,
. . . ) ;
Generate and throw a client error in the client.
| text | The error description that is to be thrown with the exception. |
public static void Throw ( int code ,
const char * text ,
. . . ) ;
Generate and throw a client error in 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. |
public void Report ( ) ;
Report a FatalError in the client and terminate.
public static void Report ( const char * text ,
. . . ) ;
Generate and report a FatalError in the client.
| text | The text to use for the error report. |
public static void Report ( int code ,
const char * text ,
. . . ) ;
Generate and report a FatalError in the client.
| text | The text to use for the error report. |
| code | The error code to use for the errror report. |