Interface ExceptionHandler

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ExceptionHandler
Used when you want to implement your own exception handling, instead of just printing the stack trace.

Sets with ExceptionManager.setExceptionHandler(ExceptionHandler).

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when a exception was caught.
  • Method Details

    • handleException

      void handleException(Throwable e)
      Called when a exception was caught.
      Parameters:
      e - the thrown exception