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):NumberRetrieves the error index.
The approximate index in the pattern of the error
public function getDescription(Void):StringRetrieves the description of the error.
The description of the error
public function getPattern(Void):StringRetrieves the erroneous regular-expression pattern.
The erroneous pattern
public function getMessage(Void):StringReturns 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