Package net.sf.saxon.regex
Class RESyntaxException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.sf.saxon.regex.RESyntaxException
- All Implemented Interfaces:
Serializable
Exception thrown to indicate a syntax error in a regular expression.
This is a non-checked exception because you should only have problems compiling
a regular expression during development.
If you are making regular expression programs dynamically then you can catch it
if you wish. But should not be forced to.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RESyntaxException
Constructor.- Parameters:
s
- Further description of the syntax error
-
RESyntaxException
Constructor.- Parameters:
s
- Further description of the syntax erroroffset
- character position within regex where the error was detected
-