Module org.glassfish.hk2.runlevel
Class ErrorInformationImpl
java.lang.Object
org.glassfish.hk2.runlevel.internal.ErrorInformationImpl
- All Implemented Interfaces:
ErrorInformation
- Author:
- jwells
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.glassfish.hk2.runlevel.ErrorInformation
ErrorInformation.ErrorAction -
Method Summary
Modifier and TypeMethodDescriptionReturns the action the system will takegetError()Returns the throwable that caused the errororg.glassfish.hk2.api.DescriptorReturns the descriptor associated with this failure, or null if the descriptor could not be determinedvoidSets the action the system should taketoString()
-
Method Details
-
getError
Description copied from interface:ErrorInformationReturns the throwable that caused the error- Specified by:
getErrorin interfaceErrorInformation- Returns:
- The non-null throwable that caused the error to occur
-
getAction
Description copied from interface:ErrorInformationReturns the action the system will take- Specified by:
getActionin interfaceErrorInformation- Returns:
- The action the system will take once the onError method has returned
-
setAction
Description copied from interface:ErrorInformationSets the action the system should take- Specified by:
setActionin interfaceErrorInformation- 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:ErrorInformationReturns the descriptor associated with this failure, or null if the descriptor could not be determined- Specified by:
getFailedDescriptorin interfaceErrorInformation- Returns:
- The failed descriptor, or null if the descriptor could not be determined
-
toString
-