UncheckedException

public class org.apache.commons.lang3.exception.UncheckedException extends RuntimeException[source]

Abstracts the concept of wrapping a checked exception as unchecked.

Subclasses should only be used to wrap checked exception.

Since:

3.13.0

Constructors

UncheckedException(Throwable)

Constructs an instance initialized to the given cause.

public UncheckedException(Throwable cause)[source]

Constructs an instance initialized to the given cause.

Parameters:

cause – The cause (which is saved for later retrieval by the #getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)