Interface ErrorInformation

All Known Implementing Classes:
ErrorInformationImpl

public interface ErrorInformation
  • Method Details

    • getError

      Throwable getError()
      Returns the throwable that caused the error
      Returns:
      The non-null throwable that caused the error to occur
    • getAction

      Returns the action the system will take
      Returns:
      The action the system will take once the onError method has returned
    • setAction

      void setAction(ErrorInformation.ErrorAction action)
      Sets the action the system should take
      Parameters:
      action - The action the system will take once the onError method has returned
    • getFailedDescriptor

      Descriptor getFailedDescriptor()
      Returns the descriptor associated with this failure, or null if the descriptor could not be determined
      Returns:
      The failed descriptor, or null if the descriptor could not be determined