Interface ExceptionContextDefaultImpl<T extends Throwable & org.apache.commons.lang3.exception.ExceptionContext>
-
- All Superinterfaces:
org.apache.commons.lang3.exception.ExceptionContext
- All Known Implementing Classes:
ContextedAssertionError
,ContextedStackOverflowError
public interface ExceptionContextDefaultImpl<T extends Throwable & org.apache.commons.lang3.exception.ExceptionContext> extends org.apache.commons.lang3.exception.ExceptionContext
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default T
addContextValue(String label, Object value)
default List<org.apache.commons.lang3.tuple.Pair<String,Object>>
getContextEntries()
default Set<String>
getContextLabels()
default List<Object>
getContextValues(String label)
org.apache.commons.lang3.exception.ExceptionContext
getExceptionContext()
default Object
getFirstContextValue(String label)
default String
getFormattedExceptionMessage(String baseMessage)
T
getThrowable()
default org.apache.commons.lang3.exception.ExceptionContext
setContextValue(String label, Object value)
-
-
-
Method Detail
-
getExceptionContext
org.apache.commons.lang3.exception.ExceptionContext getExceptionContext()
-
getThrowable
T getThrowable()
-
addContextValue
default T addContextValue(String label, Object value)
- Specified by:
addContextValue
in interfaceorg.apache.commons.lang3.exception.ExceptionContext
-
setContextValue
default org.apache.commons.lang3.exception.ExceptionContext setContextValue(String label, Object value)
- Specified by:
setContextValue
in interfaceorg.apache.commons.lang3.exception.ExceptionContext
-
getContextValues
default List<Object> getContextValues(String label)
- Specified by:
getContextValues
in interfaceorg.apache.commons.lang3.exception.ExceptionContext
-
getFirstContextValue
default Object getFirstContextValue(String label)
- Specified by:
getFirstContextValue
in interfaceorg.apache.commons.lang3.exception.ExceptionContext
-
getContextLabels
default Set<String> getContextLabels()
- Specified by:
getContextLabels
in interfaceorg.apache.commons.lang3.exception.ExceptionContext
-
getContextEntries
default List<org.apache.commons.lang3.tuple.Pair<String,Object>> getContextEntries()
- Specified by:
getContextEntries
in interfaceorg.apache.commons.lang3.exception.ExceptionContext
-
-