public class UncheckedStreamException
extends java.lang.RuntimeException
This class generally tries to forward all requests to the underlying exception class, in the hopes that it can for the most part look just like if the underlying message was thrown. This may be confusing in some ways ("Why did my catch (XMLStreamException ..) clause catch this exception?"), but usually should make sense.
Modifier | Constructor and Description |
---|---|
private |
UncheckedStreamException(javax.xml.stream.XMLStreamException orig) |
Modifier and Type | Method and Description |
---|---|
static UncheckedStreamException |
createFrom(javax.xml.stream.XMLStreamException sex) |
java.lang.String |
getLocalizedMessage() |
java.lang.String |
getMessage() |
java.lang.StackTraceElement[] |
getStackTrace() |
void |
printStackTrace() |
void |
printStackTrace(java.io.PrintStream p) |
void |
printStackTrace(java.io.PrintWriter p) |
java.lang.String |
toString() |
private UncheckedStreamException(javax.xml.stream.XMLStreamException orig)
public static UncheckedStreamException createFrom(javax.xml.stream.XMLStreamException sex)
public java.lang.StackTraceElement[] getStackTrace()
getStackTrace
in class java.lang.Throwable
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.lang.String getLocalizedMessage()
getLocalizedMessage
in class java.lang.Throwable
public void printStackTrace()
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream p)
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintWriter p)
printStackTrace
in class java.lang.Throwable
public java.lang.String toString()
toString
in class java.lang.Throwable