Package com.jk.web.util
Class JKWebExceptionHandler
java.lang.Object
com.jk.web.util.JKWebExceptionHandler
- All Implemented Interfaces:
JKExceptionHandler
This class is an implementation of the JKExceptionHandler interface for
handling exceptions in a web context.
- Version:
- 1.0
- Author:
- Dr. Jalal H. Kiswani
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JKWebExceptionHandler
public JKWebExceptionHandler()
-
-
Method Details
-
handle
This method handles the given throwable in a custom manner.- Specified by:
handle
in interfaceJKExceptionHandler
- Parameters:
exception
- Represents the throwable to be handled.throwRuntimeException
- If true, a RuntimeException might be thrown after handling.
-