|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.xml.stream.XMLStreamException
org.codehaus.stax2.typed.TypedXMLStreamException
This class represents an exception throw by an TypedXMLStreamReader or an TypedXMLStreamWriter. It is
typically used to indicate a problem reading or writing
typed data.
| Field Summary | |
protected java.lang.String |
characterData
Lexical representation of the content that could not be converted to the requested type. |
| Fields inherited from class javax.xml.stream.XMLStreamException |
location, nested |
| Constructor Summary | |
TypedXMLStreamException(java.lang.String characterData)
Default constructor. |
|
TypedXMLStreamException(java.lang.String msg,
javax.xml.stream.Location location,
java.lang.String characterData)
Construct an exception with the assocated message, exception and location. |
|
TypedXMLStreamException(java.lang.String msg,
javax.xml.stream.Location location,
java.lang.Throwable th,
java.lang.String characterData)
Construct an exception with the assocated message, exception and location. |
|
TypedXMLStreamException(java.lang.String msg,
java.lang.String lexical,
java.lang.String characterData)
Construct an exception with the assocated message. |
|
TypedXMLStreamException(java.lang.String msg,
java.lang.Throwable th,
java.lang.String characterData)
Construct an exception with the assocated message and exception |
|
TypedXMLStreamException(java.lang.Throwable th,
java.lang.String characterData)
Construct an exception with the assocated exception |
|
| Method Summary | |
java.lang.String |
getCharacterData()
Return the lexical representation of the attribute or element content that could not be converted as requested. |
| Methods inherited from class javax.xml.stream.XMLStreamException |
getLocation, getNestedException |
| 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 |
protected java.lang.String characterData
null
if a processor is unable to provide it.
| Constructor Detail |
public TypedXMLStreamException(java.lang.String characterData)
public TypedXMLStreamException(java.lang.String msg,
java.lang.String lexical,
java.lang.String characterData)
msg - The message to report.
public TypedXMLStreamException(java.lang.Throwable th,
java.lang.String characterData)
th - A nested exception.
public TypedXMLStreamException(java.lang.String msg,
java.lang.Throwable th,
java.lang.String characterData)
th - A nested exception.msg - The message to report.
public TypedXMLStreamException(java.lang.String msg,
javax.xml.stream.Location location,
java.lang.Throwable th,
java.lang.String characterData)
th - A nested exception.msg - The message to report.location - The location of the error.
public TypedXMLStreamException(java.lang.String msg,
javax.xml.stream.Location location,
java.lang.String characterData)
msg - The message to report.location - The location of the error.| Method Detail |
public java.lang.String getCharacterData()
null if unavailable.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||