Class JKWebExceptionHandler

java.lang.Object
com.jk.web.util.JKWebExceptionHandler
All Implemented Interfaces:
JKExceptionHandler

public class JKWebExceptionHandler extends Object implements 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 Details

    • JKWebExceptionHandler

      public JKWebExceptionHandler()
  • Method Details

    • handle

      public void handle(Throwable exception, boolean throwRuntimeException)
      This method handles the given throwable in a custom manner.
      Specified by:
      handle in interface JKExceptionHandler
      Parameters:
      exception - Represents the throwable to be handled.
      throwRuntimeException - If true, a RuntimeException might be thrown after handling.