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:
- Serializable
public class WstxLazyException
- extends 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
WstxLazyException
public WstxLazyException(XMLStreamException origEx)
throwLazily
public static void throwLazily(XMLStreamException ex)
throws WstxLazyException
- Throws:
WstxLazyException
getMessage
public String getMessage()
- Need to override this, to be able to dynamically construct and
display the location information...
- Overrides:
getMessage
in class Throwable
toString
public String toString()
- Overrides:
toString
in class Throwable