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 Details

    • UncheckedException

      Constructs an instance initialized to the given cause.
      Parameters:
      cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)