Interface ErrorHandler


public interface ErrorHandler
User must implement this interface for handling error and warning.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onError(String description, Throwable throwable)
    This method is invoked every time when error is occurred.
    void
    onFatalError(String description, Throwable throwable)
    This method is invoked every time when fatal error is occurred.
    void
    onWarn(String description, Throwable throwable)
    This method is invoked every time when warning is occurred.
  • Method Details

    • onWarn

      void onWarn(String description, Throwable throwable)
      This method is invoked every time when warning is occurred.
      Parameters:
      description - warn description
      throwable - error
    • onError

      void onError(String description, Throwable throwable)
      This method is invoked every time when error is occurred.
      Parameters:
      description - error description
      throwable - error
    • onFatalError

      void onFatalError(String description, Throwable throwable)
      This method is invoked every time when fatal error is occurred.
      Parameters:
      description - fatal error description
      throwable - error