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:
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 ofXMLStreamException
; this generally happens when doing lazy parsing.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description (package private) javax.xml.stream.XMLStreamException
mOrig
-
Constructor Summary
Constructors Constructor Description WstxLazyException(javax.xml.stream.XMLStreamException origEx)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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()
-
-
-
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 classjava.lang.Throwable
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Throwable
-
-