|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.smallx.xml.infoset.XMLException.Error
A data structure that encapsulates an error.
Constructor Summary | |
XMLException.Error(java.lang.String message,
Item location)
Constucts an error with a location. |
|
XMLException.Error(java.lang.String message,
Item location,
java.lang.Throwable cause)
Constructs an error with a location and cause. |
Method Summary | |
java.lang.Throwable |
getCause()
Returns the cause associated with this error, if any. |
Item |
getLocation()
Returns the location associated with this error. |
java.lang.String |
getMessage()
Returns the message associated with this error. |
java.lang.String |
toString()
Returns a string representation of the error. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public XMLException.Error(java.lang.String message, Item location)
message
- A textual message for the error.location
- The node associated with the error.public XMLException.Error(java.lang.String message, Item location, java.lang.Throwable cause)
message
- A textual message for the error.location
- The node associated with the error.cause
- An exception cause for the error.Method Detail |
public java.lang.String getMessage()
public Item getLocation()
public java.lang.Throwable getCause()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |