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:
Serializable

public final class WrappedSaxException
extends 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

Field Summary
protected  SAXException mCause
           
 
Constructor Summary
WrappedSaxException(SAXException cause)
           
 
Method Summary
 SAXException getSaxException()
           
 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
 

Field Detail

mCause

protected final SAXException mCause
Constructor Detail

WrappedSaxException

public WrappedSaxException(SAXException cause)
Method Detail

getSaxException

public SAXException getSaxException()

toString

public String toString()
Overrides:
toString in class Throwable