com.ctc.wstx.exc
Class WstxLazyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
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
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 |
WstxLazyException
public WstxLazyException(javax.xml.stream.XMLStreamException origEx)
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