Interface ErrorObserver

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int FATAL  
      static int NORMAL  
      static int WARNING  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void receiveError​(java.lang.Exception exception)
      Signals an error with normal level
      void receiveError​(java.lang.Exception exception, int level)
      Signals an error with the given error level
      void receiveError​(java.lang.Exception exception, java.lang.String message)
      Signals an error with normal level
      void receiveError​(java.lang.Exception exception, java.lang.String message, int level)
      Signals an error with the given error level
      void receiveError​(java.lang.String message)
      Signals an error with normal level
      void receiveError​(java.lang.String message, int level)
      Signals an error with the given error level
    • Method Detail

      • receiveError

        void receiveError​(java.lang.Exception exception)
        Signals an error with normal level
        Parameters:
        exception - the Exception that caused the error
      • receiveError

        void receiveError​(java.lang.Exception exception,
                          java.lang.String message)
        Signals an error with normal level
        Parameters:
        exception - the Exception that caused the error
        message - an option message, used when additional information can be provided.
      • receiveError

        void receiveError​(java.lang.Exception exception,
                          int level)
        Signals an error with the given error level
        Parameters:
        exception - the Exception that caused the error
        level - the error level
      • receiveError

        void receiveError​(java.lang.Exception exception,
                          java.lang.String message,
                          int level)
        Signals an error with the given error level
        Parameters:
        exception - the Exception that caused the error
        message - an option message, used when additional information can be provided.
        level - the error level
      • receiveError

        void receiveError​(java.lang.String message)
        Signals an error with normal level
        Parameters:
        message - the error message
      • receiveError

        void receiveError​(java.lang.String message,
                          int level)
        Signals an error with the given error level
        Parameters:
        message - the error message
        level - the error level