public class StreamExceptionBase extends XMLStreamException
XMLStreamException
instances that
we use. Sometimes used as is, but usually there should be more
specific sub-class that indicates class of exception.location, nested
Constructor and Description |
---|
StreamExceptionBase(String msg) |
StreamExceptionBase(String msg,
Location loc) |
StreamExceptionBase(String msg,
Location loc,
Throwable th) |
StreamExceptionBase(Throwable th) |
Modifier and Type | Method and Description |
---|---|
protected String |
getLocationDesc() |
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.
|
String |
toString() |
getLocation, getNestedException
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public StreamExceptionBase(String msg)
public StreamExceptionBase(Throwable th)
public String getMessage()
getMessage
in class Throwable
protected String getLocationDesc()
Copyright © 2012-2015 FasterXML. All Rights Reserved.