|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.apache.woden.xpointer.InvalidXPointerException
public class InvalidXPointerException
This class represents Exceptions that can happen during parsing an XPointer Expression.
| Constructor Summary | |
|---|---|
InvalidXPointerException(java.lang.String message,
java.lang.String fragment)
Constructs a InvalidXPointerException with a message and fragment properties. |
|
InvalidXPointerException(java.lang.String message,
java.lang.String fragment,
int startChar,
int endChar)
Constructs a InvalidXPointerException with a message and fragment properties, and index to the cause inside the fragment. |
|
InvalidXPointerException(java.lang.String message,
java.lang.String fragment,
int startChar,
int endChar,
java.lang.Throwable cause)
Constructs a InvalidXPointerException with a message and fragment properties, and index to the cause inside the fragment. |
|
InvalidXPointerException(java.lang.String message,
java.lang.String fragment,
java.lang.Throwable cause)
Constructs a InvalidXPointerException with a message and fragment properties. |
|
| Method Summary | |
|---|---|
java.lang.Integer |
getEndChar()
Returns the endChar index of the cause of this error in the fragment. |
java.lang.String |
getFragment()
Returns the fragment String stored inside this exception. |
java.lang.Integer |
getStartChar()
Returns the startChar index of the cause of this error in the fragment. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public InvalidXPointerException(java.lang.String message,
java.lang.String fragment)
message - a String message of error.fragment - a String fragment of the cause.
public InvalidXPointerException(java.lang.String message,
java.lang.String fragment,
java.lang.Throwable cause)
message - a String message of error.fragment - a String fragment of the cause of the error.cause - a Throwable which caused this exception to be thrown.
public InvalidXPointerException(java.lang.String message,
java.lang.String fragment,
int startChar,
int endChar)
message - a String message of error.fragment - a String fragment of the cause of the error.startChar - a int char index to the start of the cause in the fragment.endChar - a int char index to the end of the cause in the fragment.
public InvalidXPointerException(java.lang.String message,
java.lang.String fragment,
int startChar,
int endChar,
java.lang.Throwable cause)
message - a String message of error.fragment - a String fragment of the cause of the error.startChar - an int char index to the start of the cause in the fragment.endChar - an int char index to the end of the cause in the fragment.cause - a Throwable which caused the exception to be thrown.| Method Detail |
|---|
public java.lang.String getFragment()
public java.lang.Integer getStartChar()
public java.lang.Integer getEndChar()
public java.lang.String toString()
toString in class java.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||