Interface ExceptionHandler

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Exception handle​(java.lang.Exception e)
      Implement custom exception handling that can be injected into jPos via configuration.
    • Method Detail

      • handle

        java.lang.Exception handle​(java.lang.Exception e)
                            throws java.lang.Exception
        Implement custom exception handling that can be injected into jPos via configuration.
        Parameters:
        e - Exception
        Returns:
        Same or modified exception.
        Throws:
        java.lang.Exception - In case the handler would like to throw an exception. This should stop further handlers from processing.