public class UncheckedStreamException extends 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 and Type | Method and Description |
|---|---|
static UncheckedStreamException |
createFrom(XMLStreamException sex) |
String |
getLocalizedMessage() |
String |
getMessage() |
StackTraceElement[] |
getStackTrace() |
void |
printStackTrace() |
void |
printStackTrace(PrintStream p) |
void |
printStackTrace(PrintWriter p) |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getSuppressed, initCause, setStackTracepublic static UncheckedStreamException createFrom(XMLStreamException sex)
public StackTraceElement[] getStackTrace()
getStackTrace in class Throwablepublic String getMessage()
getMessage in class Throwablepublic String getLocalizedMessage()
getLocalizedMessage in class Throwablepublic void printStackTrace()
printStackTrace in class Throwablepublic void printStackTrace(PrintStream p)
printStackTrace in class Throwablepublic void printStackTrace(PrintWriter p)
printStackTrace in class ThrowableCopyright © 2012-2015 FasterXML. All Rights Reserved.