[ROOT] --> C++Client

class PCREClientError
    inherited from public PCREError

The PCREClientError class encapsulates the errors that can happen in a client.

Author:
Copyright (c) 2000 Dynalivery Corp., All Rights Reserved.

Version:
2.4.0

Source:
MobileApps\PCRE\CppClient\Include\clienterror.h

Constructors Index

PCREClientError
Construct a PCREClientError with the given code and text.
PCREClientError
Construct a PCREClientError with the given text.


Methods Index

Narrow
Narrow the type of error, by casting a generic error into a PCREClientError.
Report
Report a PCREClientError in the client and terminate.
Report
Generate and report a PCREClientError to the client.
Report
Generate and report a PCREClientError to the client.
Throw
Throw this error to a handler in the client.
Throw
Generate and throw a PCREClientError to the client.
Throw
Generate and throw a PCREClientError to the client.


Constructors

PCREClientError

 PCREClientError ( int code , const char * text ) ;

Construct a PCREClientError object with the given code and text.

Parameters:
code The error code.
text The error text.

PCREClientError

 PCREClientError ( const char * text ) ;

Construct a PCREClientError object with the given text.

Parameters:
text The error text.

Methods

Narrow

 static PCREClientError * Narrow ( PCREError * error ) ;

Narrow the type of error, by casting a generic error into a PCREClientError.

Parameters:
error The generic error object.

Return:
A PCREClientError object.

Throw

 void Throw ( ) ;

Throw this error to a handler in the client.

Throw

 static void Throw ( const char * text ,
                           . . . ) ;

Generate and throw a PCREClientError to the client.

Parameters:
text The error description that is to be thrown with the exception.

Throw

 static void Throw ( int code ,
                           const char * text ,
                           . . . ) ;

Generate and throw a PCREClientError to the client.

Parameters:
text The error description that is to be thrown with the exception.
code The error code that is to be thrown with the exception.

Report

 void Report ( ) ;

Report a PCREClientError in the client and terminate.

Report

 static void Report ( const char * text ,
                            . . . ) ;

Generate and report a PCREClientError to the client.

Parameters:
text The text to use for the error report.

Report

 static void Report ( int code ,
                            const char * text ,
                            . . . ) ;

Generate and report a PCREClientError to the client.

Parameters:
text The text to use for the error report.
code The error code to use for the errror report.

Copyright (c) 2000 Dynalivery Corp.