com.ctc.wstx.exc
Class WstxLazyException

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

public class WstxLazyException
extends java.lang.RuntimeException

Alternative exception class Woodstox code uses when it is not allowed to throw an instance of XMLStreamException; this generally happens when doing lazy parsing.

See Also:
Serialized Form

Constructor Summary
WstxLazyException(javax.xml.stream.XMLStreamException origEx)
           
 
Method Summary
 java.lang.String getMessage()
          Need to override this, to be able to dynamically construct and display the location information...
static void throwLazily(javax.xml.stream.XMLStreamException ex)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

WstxLazyException

public WstxLazyException(javax.xml.stream.XMLStreamException origEx)
Method Detail

throwLazily

public static void throwLazily(javax.xml.stream.XMLStreamException ex)
                        throws WstxLazyException
Throws:
WstxLazyException

getMessage

public java.lang.String getMessage()
Need to override this, to be able to dynamically construct and display the location information...

Overrides:
getMessage in class java.lang.Throwable

toString

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