Uses of Interface
org.apache.commons.lang3.exception.ExceptionContext
Packages that use ExceptionContext
-
Uses of ExceptionContext in org.apache.commons.lang3.exception
Classes in org.apache.commons.lang3.exception that implement ExceptionContextModifier and TypeClassDescriptionclass
An exception that provides an easy and safe way to add contextual information.class
A runtime exception that provides an easy and safe way to add contextual information.class
Default implementation of the context storing the label-value pairs for contexted exceptions.Fields in org.apache.commons.lang3.exception declared as ExceptionContextModifier and TypeFieldDescriptionprivate final ExceptionContext
ContextedException.exceptionContext
The context where the data is stored.private final ExceptionContext
ContextedRuntimeException.exceptionContext
The context where the data is stored.Methods in org.apache.commons.lang3.exception that return ExceptionContextModifier and TypeMethodDescriptionExceptionContext.addContextValue
(String label, Object value) Adds a contextual label-value pair into this context.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 ExceptionContextModifierConstructorDescriptionContextedException
(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.