Package org.jpos.core.handlers.exception
Interface ExceptionHandler
-
public interface ExceptionHandler
- Since:
- 2.1.2
-
-
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.
-
-