Package com.jk.core.exceptions.handler
Class JKDefaultExceptionHandler<T extends Throwable>
java.lang.Object
com.jk.core.exceptions.handler.JKDefaultExceptionHandler<T>
- Type Parameters:
 T- the generic type that represents the exceptions this class handles.
- All Implemented Interfaces:
 JKExceptionHandler<T>
public class JKDefaultExceptionHandler<T extends Throwable>
extends Object
implements JKExceptionHandler<T>
This class represents the default exception handler class for the
 JK-Framework.
 
It provides methods to handle different types of exceptions in a consistent manner.
- Version:
 - 1.0
 - Author:
 - Dr. Jalal H. Kiswani
 
- 
Constructor Summary
Constructors - 
Method Summary
 
- 
Constructor Details
- 
JKDefaultExceptionHandler
public JKDefaultExceptionHandler() 
 - 
 - 
Method Details
- 
handle
This method handles the given throwable in a custom manner.- Specified by:
 handlein interfaceJKExceptionHandler<T extends Throwable>- Parameters:
 throwable- Represents the throwable to be handled.throwRuntimeException- If true, a RuntimeException might be thrown after handling.
 
 -