Package net.sf.saxon.functions.regex
Class RegexSyntaxException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- net.sf.saxon.functions.regex.RegexSyntaxException
-
- All Implemented Interfaces:
java.io.Serializable
public class RegexSyntaxException extends java.lang.Exception
Thrown when an syntactically incorrect regular expression is detected.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
UNKNOWN_POSITION
Represents an unknown position within a string containing a regular expression.
-
Constructor Summary
Constructors Constructor Description RegexSyntaxException(java.lang.String detail)
RegexSyntaxException(java.lang.String detail, int position)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getPosition()
Returns the index into the regular expression where the error was detected orUNKNOWN_POSITION
if this is unknown.
-
-
-
Field Detail
-
UNKNOWN_POSITION
public static final int UNKNOWN_POSITION
Represents an unknown position within a string containing a regular expression.- See Also:
- Constant Field Values
-
-