Interface IArgcheckFailHandler

All Known Implementing Classes:
BasicArgcheckFailHandler

public interface IArgcheckFailHandler
Argcheck failure handlers should implement this interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This method will be called on by the
    invalid reference
    fc.app.Checker
    class in case of an Argcheck failure.
  • Method Details

    • handle

      void handle(String msg)
      This method will be called on by the
      invalid reference
      fc.app.Checker
      class in case of an Argcheck failure. See
      invalid reference
      fc.app.Argcheck
      .

      Therefore, implementations can do neat things like writing detailed thread/stack information or even paging/sending email. After doing other handling, Implementations should end this method by throwing a RuntimeException (unless there is a very strong reason not to).