public class StreamExceptionBase
extends javax.xml.stream.XMLStreamException
XMLStreamException
instances that
we use. Sometimes used as is, but usually there should be more
specific sub-class that indicates class of exception.Modifier and Type | Field and Description |
---|---|
(package private) java.lang.String |
mMsg
D'oh.
|
Constructor and Description |
---|
StreamExceptionBase(java.lang.String msg) |
StreamExceptionBase(java.lang.String msg,
javax.xml.stream.Location loc) |
StreamExceptionBase(java.lang.String msg,
javax.xml.stream.Location loc,
java.lang.Throwable th) |
StreamExceptionBase(java.lang.Throwable th) |
Modifier and Type | Method and 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() |
final java.lang.String mMsg
public StreamExceptionBase(java.lang.String msg)
public StreamExceptionBase(java.lang.Throwable th)
public StreamExceptionBase(java.lang.String msg, javax.xml.stream.Location loc)
public StreamExceptionBase(java.lang.String msg, javax.xml.stream.Location loc, java.lang.Throwable th)
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.lang.String toString()
toString
in class java.lang.Throwable
protected java.lang.String getLocationDesc()