Unchecked exception thrown to indicate a syntax error in a regular-expression pattern.
public function PatternSyntaxException(description:String, thrower:Pattern, args:FunctionArguments)
Constructs a new instance of this class.
description | A description of the error |
thrower | The erroneous Pattern's instance thrown exception |
args | Arguments of the function thrown exception |
public function getIndex(Void):Number
Retrieves the error index.
The approximate index in the pattern of the error
public function getDescription(Void):String
Retrieves the description of the error.
The description of the error
public function getPattern(Void):String
Retrieves the erroneous regular-expression pattern.
The erroneous pattern
public function getMessage(Void):String
Returns a multi-line string containing the description of the syntax error and its index, the erroneous regular-expression pattern, and a visual indication of the error index within the pattern.
The full detail message
getMessage() in org.as2lib.env.except.Throwable