WrappedRuntimeExceptionpublic class WrappedRuntimeException extends RuntimeException This class is for throwing important checked exceptions
over non-checked methods. It should be used with care,
and in limited circumstances. |
Fields Summary |
---|
private Exception | m_exceptionPrimary checked exception. |
Constructors Summary |
---|
public WrappedRuntimeException(Exception e)Construct a WrappedRuntimeException from a
checked exception.
super(e.getMessage());
m_exception = e;
| public WrappedRuntimeException(String msg, Exception e)Constructor WrappedRuntimeException
super(msg);
m_exception = e;
|
Methods Summary |
---|
public java.lang.Exception | getException()Get the checked exception that this runtime exception wraps.
return m_exception;
|
|