Top Description Fields Constructors Methods
com.ctc.wstx.sax

public final Class WrappedSaxException

extends RuntimeException
Class Inheritance
Annotations
@SuppressWarnings:serial
Imports
org.xml.sax.SAXException

Simple type-safe wrapper used for "tunneling" SAX exceptions through interfaces that do not allow them to be thrown. This is done by extending RuntimeException.

Field Summary

Modifier and TypeField and Description
pack-priv final SAXException

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public SAXException
public String
toString()

Overrides java.lang.Throwable.toString.

Returns a short description of this throwable.

Field Detail

mCauseback to summary
pack-priv final SAXException mCause

Constructor Detail

WrappedSaxExceptionback to summary
public WrappedSaxException(SAXException cause)

Method Detail

getSaxExceptionback to summary
public SAXException getSaxException()
toStringback to summary
public String toString()

Overrides java.lang.Throwable.toString.

Doc from java.lang.Throwable.toString.

Returns a short description of this throwable. The result is the concatenation of:

  • the name of the class of this object
  • ": " (a colon and a space)
  • the result of invoking this object's getLocalizedMessage method
If getLocalizedMessage returns null, then just the class name is returned.
Returns:String

a string representation of this throwable.

Annotations
@Override