|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
net.sf.saxon.regex.RegexSyntaxException
Thrown when an syntactically incorrect regular expression is detected.
Field Summary | |
static int |
UNKNOWN_POSITION
Represents an unknown position within a string containing a regular expression. |
Constructor Summary | |
RegexSyntaxException(java.lang.String detail)
|
|
RegexSyntaxException(java.lang.String detail,
int position)
|
Method Summary | |
int |
getPosition()
Returns the index into the regular expression where the error was detected or UNKNOWN_POSITION if this is unknown. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int UNKNOWN_POSITION
Constructor Detail |
public RegexSyntaxException(java.lang.String detail)
public RegexSyntaxException(java.lang.String detail, int position)
Method Detail |
public int getPosition()
UNKNOWN_POSITION
if this is unknown.
UNKNOWNN_POSITION
if this is unknown
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |