Interface ExceptionContextProvider
-
- All Known Implementing Classes:
ConvergenceException,DimensionMismatchException,InsufficientDataException,MathArithmeticException,MathIllegalArgumentException,MathIllegalNumberException,MathIllegalStateException,MathInternalError,MathParseException,MathRuntimeException,MathUnsupportedOperationException,MaxCountExceededException,MultiDimensionMismatchException,NoBracketingException,NoDataException,NonMonotonicSequenceException,NotANumberException,NotFiniteNumberException,NotPositiveException,NotStrictlyPositiveException,NullArgumentException,NumberIsTooLargeException,NumberIsTooSmallException,OutOfRangeException,TooManyEvaluationsException,TooManyIterationsException,ZeroException
public interface ExceptionContextProvider
Interface for accessing the context data structure stored in Commons Math exceptions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExceptionContextgetContext()Gets a reference to the "rich context" data structure that allows to customize error messages and store key, value pairs in exceptions.
-
-
-
Method Detail
-
getContext
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:
- a reference to the exception context.
-
-