com.ctc.wstx.sax
Class WrappedSaxException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.ctc.wstx.sax.WrappedSaxException
All Implemented Interfaces:
java.io.Serializable

public final class WrappedSaxException
extends java.lang.RuntimeException

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.

See Also:
Serialized Form

Constructor Summary
WrappedSaxException(org.xml.sax.SAXException cause)
           
 
Method Summary
 org.xml.sax.SAXException getSaxException()
           
 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

WrappedSaxException

public WrappedSaxException(org.xml.sax.SAXException cause)
Method Detail

getSaxException

public org.xml.sax.SAXException getSaxException()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable