org.apache.commons.lang3.exception

Provides functionality for Exceptions.

Contains the concept of an exception with context i.e. such an exception will contain a map with keys and values. This provides an easy way to pass valuable state information at exception time in useful form to a calling process.

Lastly, org.apache.commons.lang3.exception.ExceptionUtils also contains Throwable manipulation and examination routines.

Since:

1.0

Interfaces

ExceptionContext

Allows the storage and retrieval of contextual information based on label-value pairs for exceptions.

Classes

CloneFailedException

Exception thrown when a clone cannot be created.

ContextedException

An exception that provides an easy and safe way to add contextual information.

ContextedRuntimeException

A runtime exception that provides an easy and safe way to add contextual information.

DefaultExceptionContext

Default implementation of the context storing the label-value pairs for contexted exceptions.

ExceptionUtils

Provides utilities for manipulating and examining Throwable objects.

UncheckedException

Abstracts the concept of wrapping a checked exception as unchecked.

UncheckedIllegalAccessException

Unchecked IllegalAccessException.

UncheckedInterruptedException

Unchecked InterruptedException.

UncheckedReflectiveOperationException

Unchecked ReflectiveOperationException.