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, getNestedExceptionaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic StreamExceptionBase(String msg)
public StreamExceptionBase(Throwable th)
public String getMessage()
getMessage in class Throwableprotected String getLocationDesc()
Copyright © 2018 FasterXML. All rights reserved.