Class StreamExceptionBase

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
IoStreamException, WFCException

public class StreamExceptionBase extends 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:
  • Field Details

    • mMsg

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

    • StreamExceptionBase

      public StreamExceptionBase(String msg)
    • StreamExceptionBase

      public StreamExceptionBase(Throwable th)
    • StreamExceptionBase

      public StreamExceptionBase(String msg, Location loc)
    • StreamExceptionBase

      public StreamExceptionBase(String msg, Location loc, Throwable th)
  • Method Details

    • getMessage

      public 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 Throwable
    • toString

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

      protected String getLocationDesc()