# Uses of Interface
org.apache.commons.lang3.exception.ExceptionContext

Packages that use ExceptionContext
Package
Description
org.apache.commons.lang3.exception
Provides functionality for Exceptions.

- ## Uses of ExceptionContext in org.apache.commons.lang3.exception

  Classes in org.apache.commons.lang3.exception that implement ExceptionContext
  Modifier and Type
  Class
  Description
  `class`
  `ContextedException`
  An exception that provides an easy and safe way to add contextual information.
  `class`
  `ContextedRuntimeException`
  A runtime exception that provides an easy and safe way to add contextual information.
  `class`
  `DefaultExceptionContext`
  Default implementation of the context storing the label-value pairs for contexted exceptions.
  Methods in org.apache.commons.lang3.exception that return ExceptionContext
  Modifier and Type
  Method
  Description
  `ExceptionContext`
  ExceptionContext.`addContextValue(String label, Object value)`
  Adds a contextual label-value pair into this context.
  `ExceptionContext`
  ExceptionContext.`setContextValue(String label, Object value)`
  Sets a contextual label-value pair into this context.
  Constructors in org.apache.commons.lang3.exception with parameters of type ExceptionContext
  Modifier
  Constructor
  Description
  ``
  `ContextedException(String message, Throwable cause, ExceptionContext context)`
  Instantiates ContextedException with cause, message, and ExceptionContext.
  ``
  `ContextedRuntimeException(String message, Throwable cause, ExceptionContext context)`
  Instantiates ContextedRuntimeException with cause, message, and ExceptionContext.