Interface ExceptionContextProvider

All Known Implementing Classes:
ConvergenceException, MathIllegalStateException, MaxCountExceededException

public interface ExceptionContextProvider
Interface for accessing the context data structure stored in Commons Math exceptions.
  • Method Summary

    Modifier and Type Method Description
    ExceptionContext getContext()
    Gets a reference to the "rich context" data structure that allows to customize error messages and store key, value pairs in exceptions.
  • Method Details

    • 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.