[ROOT] --> C++Client
The Gateway error class encapsulates the errors that can happen in a in the Gateway.
PCREGatewayError
PCREGatewayError
Narrow
Report
Report
Report
Report
Throw
Throw
Throw
Throw
public PCREGatewayError ( int code ,
const char * text ) ;
Construct a GatewayError with the given code and text.
| code | The error code. |
| text | The error text. |
public PCREGatewayError ( const char * text ) ;
Construct a GatewayError with the given text.
| text | The error text. |
static PCREGatewayError * Narrow ( PCREError * error ) ;
Narrow the type of error, by casting a generic error into a gateway error.
| 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 gateway 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 a gateway error to the client.
| code | The error code to use. |
| text | The error description that is to be thrown with the exception. |
static void Throw ( CORBA :: Exception & ex ) ;
Throw a CORBA exception to the client.
| ex | The exception to throw. |
void Report ( ) ;
Report a GatewayError in the client and terminate.
static void Report ( const char * text ,
. . . ) ;
Generate and report a GatewayError to the client.
| text | The text to use for the error report. |
static void Report ( int code ,
const char * text ,
. . . ) ;
Generate and report a GatewayError to the client.
| text | The text to use for the error report. |
| code | The error code to use for the error report. |
static void Report ( CORBA :: Exception & ex ) ;
Report a CORBA exception to the client.
| ex | The CORBA exception to report. |