Interface ErrHandler

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 ErrHandler
ErrHandler is a handler of an Err object creation.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handle(Err err, ErrOcc occ)
    Handles an Err object creation.
  • Method Details

    • handle

      void handle(Err err, ErrOcc occ)
      Handles an Err object creation.
      Parameters:
      err - An Err object.
      occ - An ErrOcc object which holds the situation parameters that indicates when and where an Err occured.