public class WrappedRuntimeException
extends java.lang.RuntimeException
| Constructor and Description |
|---|
WrappedRuntimeException(java.lang.Exception except)
Constructs a new runtime exception based on a checked exception.
|
WrappedRuntimeException(java.lang.String message,
java.lang.Exception except)
Constructs a new runtime exception based on a checked exception.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Exception |
getException()
Returns the exception wrapped by this runtime exception.
|
void |
printStackTrace() |
void |
printStackTrace(java.io.PrintStream stream) |
void |
printStackTrace(java.io.PrintWriter writer) |
public WrappedRuntimeException(java.lang.String message,
java.lang.Exception except)
message - The error messageexcept - The checked exceptionpublic WrappedRuntimeException(java.lang.Exception except)
except - The checked exceptionpublic java.lang.Exception getException()
public void printStackTrace()
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintStream stream)
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintWriter writer)
printStackTrace in class java.lang.ThrowableCees de Groot (C) 2000-2001. All rights reserved http://jdbm.sourceforge.net