Top Description Methods
org.apache.commons.math3.exception.util

public Interface ExceptionContextProvider

Known Direct Implementers
org.apache.commons.math3.exception.MathArithmeticException, org.apache.commons.math3.exception.MathIllegalArgumentException, org.apache.commons.math3.exception.MathIllegalStateException, org.apache.commons.math3.exception.MathParseException, org.apache.commons.math3.exception.MathRuntimeException, org.apache.commons.math3.exception.MathUnsupportedOperationException

Interface for accessing the context data structure stored in Commons Math exceptions.

Method Summary

Modifier and TypeMethod and Description
public ExceptionContext

Returns:

a reference to the exception context.
getContext
()

Gets a reference to the "rich context" data structure that allows to customize error messages and store key, value pairs in exceptions.

Method Detail

getContextback to summary
public ExceptionContext getContext()

Gets a reference to the "rich context" data structure that allows to customize error messages and store key, value pairs in exceptions.

Returns:ExceptionContext

a reference to the exception context.