Package com.jk.core.exceptions.handler
Interface JKExceptionHandler<T extends Throwable>
- Type Parameters:
T
- Specifies the type of exception to be handled, which must extend Throwable.
- All Known Implementing Classes:
JKDefaultExceptionHandler
,JKWebExceptionHandler
,UnitTestingExceptionHandler
public interface JKExceptionHandler<T extends Throwable>
This interface is used for handling exceptions inside the JK-Framework.
- Version:
- 1.0
- Author:
- Dr. Jalal H. Kiswani
-
Method Summary
-
Method Details
-
handle
This method handles the given throwable in a custom manner.- Parameters:
throwable
- Represents the throwable to be handled.throwRuntimeException
- If true, a RuntimeException might be thrown after handling.
-