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, setStackTrace
public static UncheckedStreamException createFrom(XMLStreamException sex)
public StackTraceElement[] getStackTrace()
getStackTrace
in class Throwable
public String getMessage()
getMessage
in class Throwable
public String getLocalizedMessage()
getLocalizedMessage
in class Throwable
public void printStackTrace()
printStackTrace
in class Throwable
public void printStackTrace(PrintStream p)
printStackTrace
in class Throwable
public void printStackTrace(PrintWriter p)
printStackTrace
in class Throwable
Copyright © 2018 FasterXML. All rights reserved.