Class UncheckedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.commons.lang3.exception.UncheckedException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- UncheckedExecutionException,- UncheckedInterruptedException,- UncheckedReflectiveOperationException,- UncheckedTimeoutException
Abstracts the concept of wrapping a checked exception as unchecked.
 
Subclasses should only be used to wrap checked exception.
- Since:
- 3.13.0
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionUncheckedException(Throwable cause) Constructs an instance initialized to the givencause.
- 
Method SummaryMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
UncheckedExceptionConstructs an instance initialized to the givencause.- Parameters:
- cause- the cause (which is saved for later retrieval by the- Throwable.getCause()method). (A- nullvalue is permitted, and indicates that the cause is nonexistent or unknown.)
 
 
-