Package com.fasterxml.aalto.impl
Class StreamExceptionBase
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.xml.stream.XMLStreamException
com.fasterxml.aalto.impl.StreamExceptionBase
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
IoStreamException
,WFCException
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 Summary
FieldsFields inherited from class javax.xml.stream.XMLStreamException
location, nested
-
Constructor Summary
ConstructorsConstructorDescriptionStreamExceptionBase
(String msg, Location loc) StreamExceptionBase
(String msg, Location loc, Throwable th) -
Method Summary
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
-
Field Details
-
mMsg
D'oh. Super-class munges and hides the message, have to duplicate here
-
-
Constructor Details
-
StreamExceptionBase
-
StreamExceptionBase
-
StreamExceptionBase
-
StreamExceptionBase
-
-
Method Details
-
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 classThrowable
-
toString
-
getLocationDesc
-