Package 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 ofXMLStreamException
; this generally happens when doing lazy parsing.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WstxLazyException(XMLStreamException origEx)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMessage()
Need to override this, to be able to dynamically construct and display the location information...static void
throwLazily(XMLStreamException ex)
String
toString()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
WstxLazyException
public WstxLazyException(XMLStreamException origEx)
-
-
Method Detail
-
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 classThrowable
-
-