[ROOT] --> C++Client

class PCREInternalError
    inherited from public PCREError

The Internal error class encapsulates the errors that can thrown to a client due to internal errors.

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

Version:
2.4.0.

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

Constructors Index

PCREInternalError
Construct an InternalError with the given code and text.
PCREInternalError
Construct an InternalError with the given text.


Methods Index

Narrow
Narrow the type of error, by casting a generic error into an internal error.
Report
Report an InternalError to the client and terminate.
Report
Generate and report an InternalError to the client.
Report
Generate and report an InternalError to the client.
Throw
Throw
Generate and throw an internal error to the client.
Throw
Generate and throw an internal error to the client.


Constructors

PCREInternalError

public PCREInternalError ( int code ,
                           const char * text ) ;

Construct an InternalError with the given code and text.

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

PCREInternalError

public PCREInternalError ( const char * text ) ;

Construct an InternalError with the given text.

Parameters:
text The error text.

Methods

Narrow

 static PCREInternalError * Narrow ( PCREError * error ) ;

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

Parameters:
error The generic error object.

Return:
A PCREInternalError object.

Throw

 void Throw ( ) ;

Throw

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

Generate and throw an internal error 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 an internal error 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 an InternalError to the client and terminate.

Report

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

Generate and report an InternalError 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 an InternalError to the client.

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

Copyright (c) 2000 Dynalivery Corp.