public class WrappedRuntimeException extends RuntimeException
| Constructor and Description |
|---|
WrappedRuntimeException(Exception except)
Constructs a new runtime exception based on a checked exception.
|
WrappedRuntimeException(String message,
Exception except)
Constructs a new runtime exception based on a checked exception.
|
| Modifier and Type | Method and Description |
|---|---|
Exception |
getException()
Returns the exception wrapped by this runtime exception.
|
void |
printStackTrace() |
void |
printStackTrace(PrintStream stream) |
void |
printStackTrace(PrintWriter writer) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toStringpublic WrappedRuntimeException(String message, Exception except)
message - The error messageexcept - The checked exceptionpublic WrappedRuntimeException(Exception except)
except - The checked exceptionpublic Exception getException()
public void printStackTrace()
printStackTrace in class Throwablepublic void printStackTrace(PrintStream stream)
printStackTrace in class Throwablepublic void printStackTrace(PrintWriter writer)
printStackTrace in class ThrowableCopyright © 2003–2014 The Apache Software Foundation. All rights reserved.