Class StreamExceptionBase

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    IoStreamException, WFCException

    public class StreamExceptionBase
    extends javax.xml.stream.XMLStreamException
    Base class for all XMLStreamException instances that we use. Sometimes used as is, but usually there should be more specific sub-class that indicates class of exception.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.lang.String mMsg
      D'oh.
      • Fields inherited from class javax.xml.stream.XMLStreamException

        location, nested
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.String getLocationDesc()  
      java.lang.String getMessage()
      Method is overridden for two main reasons: first, default method does not display public/system id information, even if it exists, and second, default implementation can not handle nested Location information.
      java.lang.String toString()  
      • Methods inherited from class javax.xml.stream.XMLStreamException

        getLocation, getNestedException
      • 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

      • mMsg

        final java.lang.String mMsg
        D'oh. Super-class munges and hides the message, have to duplicate here
    • Constructor Detail

      • StreamExceptionBase

        public StreamExceptionBase​(java.lang.String msg)
      • StreamExceptionBase

        public StreamExceptionBase​(java.lang.Throwable th)
      • StreamExceptionBase

        public StreamExceptionBase​(java.lang.String msg,
                                   javax.xml.stream.Location loc)
      • StreamExceptionBase

        public StreamExceptionBase​(java.lang.String msg,
                                   javax.xml.stream.Location loc,
                                   java.lang.Throwable th)
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        Method is overridden for two main reasons: first, default method does not display public/system id information, even if it exists, and second, default implementation can not handle nested Location information.
        Overrides:
        getMessage in class java.lang.Throwable
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Throwable
      • getLocationDesc

        protected java.lang.String getLocationDesc()