Class ErrorInformationImpl

java.lang.Object
org.glassfish.hk2.runlevel.internal.ErrorInformationImpl
All Implemented Interfaces:
ErrorInformation

public class ErrorInformationImpl extends Object implements ErrorInformation
Author:
jwells
  • Method Details

    • getError

      public Throwable getError()
      Description copied from interface: ErrorInformation
      Returns the throwable that caused the error
      Specified by:
      getError in interface ErrorInformation
      Returns:
      The non-null throwable that caused the error to occur
    • getAction

      public ErrorInformation.ErrorAction getAction()
      Description copied from interface: ErrorInformation
      Returns the action the system will take
      Specified by:
      getAction in interface ErrorInformation
      Returns:
      The action the system will take once the onError method has returned
    • setAction

      public void setAction(ErrorInformation.ErrorAction action)
      Description copied from interface: ErrorInformation
      Sets the action the system should take
      Specified by:
      setAction in interface ErrorInformation
      Parameters:
      action - The action the system will take once the onError method has returned
    • getFailedDescriptor

      public org.glassfish.hk2.api.Descriptor getFailedDescriptor()
      Description copied from interface: ErrorInformation
      Returns the descriptor associated with this failure, or null if the descriptor could not be determined
      Specified by:
      getFailedDescriptor in interface ErrorInformation
      Returns:
      The failed descriptor, or null if the descriptor could not be determined
    • toString

      public String toString()
      Overrides:
      toString in class Object