Class 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
    • 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()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • mOrig

        final javax.xml.stream.XMLStreamException mOrig
    • Constructor Detail

      • WstxLazyException

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

      • 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