Package ratpack.func
Class UncheckedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- ratpack.func.UncheckedException
-
- All Implemented Interfaces:
Serializable
public class UncheckedException extends RuntimeException
Used to wrap a checked exception to be thrown where a checked exception cannot be thrown.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UncheckedException(Throwable cause)
Constructor.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
UncheckedException
public UncheckedException(Throwable cause)
Constructor.- Parameters:
cause
- the checked exception
-
-