[ROOT] --> C++Client

class PCREError

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

Version:
2.4.0

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

Constructors Index

PCREError
Construct an InternalError with the given code and text.
PCREError
Copy Constructor duplicates an InternalError with the code and text provided by the parameter.
~PCREError


Methods Index

Code
Return the error code associated with the error.
Kind
Return the kind of error this is.
Report
Report this exception.
Text
Return the text associated with the error.
Throw
Throw this exception


Constructors

PCREError

public PCREError ( int code = 0 ,
                   const char * text = NULL ,
                   const char * kind = "PCRE error" ) ;

Construct an InternalError with the given code and text.

Parameters:
code The error code, default is zero.
text The error text, default is an empty string.
kind Specify type of error, default is "PCRE error".

PCREError

 PCREError ( const PCREError & err ) ;

Copy Constructor duplicates an InternalError with the code and text provided by the parameter.

PCREError

 ~ PCREError ( ) ;


Methods

Text

 const char * Text ( ) const ;

Return the text associated with the error.

Return:
The text that is thrown by this exception.

Code

 int Code ( ) const ;

Return the error code associated with the error.

Return:
The error code that is thrown by this exception.

Kind

 const char * Kind ( ) const ;

Return the kind of error this is.

Return:
The text that describes the kind of error thrown by this exception.

Throw

 virtual void Throw ( ) ;

Throw this exception.

Report

 virtual void Report ( ) ;

Report this exception.


Copyright (c) 2000 Dynalivery Corp.