JCL Help:EPCREError
JCL Help: EPCREError Class
Search in JCL Help
Search in all projectsClass Hierarchy
EJclError
|
EPCREError
Summary
Exception raised an error occurs loading or accessing the PCRE.DLL library.
Pascal
public EPCREError = class(EJclError);
Description
EPCREError represents an exception raised an error occurs loading the PCRE.DLL library, or when a result code is returned from PCRE.DLL that represents an error. EPCREError allows applications to use exception handling to trap the exceptions specific to the JclPCRE implementation.
EPCREError extends its' ancestor class by adding the ErrorCode property and the CreateRes method.
EPCREError exceptions can be raised when the PCRE.DLL library cannot be loaded because it is not installed on the local computer, or when it cannot be located in the search path at run-time.
EPCREError may also be raised when executing methods or accessing properties in TJclRegEx that result in numeric return values from PCRE.DLL representing an error.
Method | Description |
TJclRegEx.Compile | Raised when the regular expression argument is |
an empty string (). | |
TJclRegEx.Captures | Raised when the Capture at the requested index |
cannot be accessed using PCRE.DLL. |
EPCREError exception messages use string values located in JclResources.pas that represent the ErrorCode for the instance.
See Also
EPCREError.CreateRes EPCREError.ErrorCode TJclRegEx.Compile TJclRegEx.Captures
About
Unit
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page