[ROOT] --> C++Client

class PCREFatalError
    inherited from public PCREError

The Fatal error class encapsulates the errors that can happen in the Client / Server process.

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

Version:
2.4.0

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

Constructors Index

PCREFatalError
Construct a FatalError with the given code and text.
PCREFatalError
Construct a FatalErrorwith the given text.


Methods Index

Narrow
Narrow the type of error, by casting a generic error into a fatal error.
Report
Report a FatalError in the client and terminate.
Report
Generate and report a FatalError in the client.
Report
Generate and report a FatalError in the client.
Throw
Throw
Generate and throw a client error in the client.
Throw
Generate and throw a client error in the client.


Constructors

PCREFatalError

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

Construct a FatalError with the given code and text.

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

PCREFatalError

public PCREFatalError ( const char * text ) ;

Construct a FatalErrorwith the given text.

Parameters:
text The error text.

Methods

Narrow

public static PCREFatalError * Narrow ( PCREError * error ) ;

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

Parameters:
error The generic error object.

Return:
A PCREFatalError object.

Throw

public void Throw ( ) ;

Throw

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

Generate and throw a client error in the client.

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

Throw

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

Generate and throw a client error in 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

public void Report ( ) ;

Report a FatalError in the client and terminate.

Report

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

Generate and report a FatalError in the client.

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

Report

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

Generate and report a FatalError in 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.