Top Fields Constructors Methods
org.glassfish.hk2.runlevel.internal

public Class ErrorInformationImpl

extends Object
implements ErrorInformation
Class Inheritance
All Implemented Interfaces
org.glassfish.hk2.runlevel.ErrorInformation
Imports
org.glassfish.hk2.api.Descriptor, org.glassfish.hk2.runlevel.ErrorInformation

Author
jwells

Field Summary

Modifier and TypeField and Description
private ErrorInformation.ErrorAction
private final Descriptor
private final Throwable

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public ErrorInformation.ErrorAction
getAction()

Implements org.glassfish.hk2.runlevel.ErrorInformation.getAction.

Returns the action the system will take

public Throwable
getError()

Implements org.glassfish.hk2.runlevel.ErrorInformation.getError.

Returns the throwable that caused the error

public Descriptor
getFailedDescriptor()

Implements org.glassfish.hk2.runlevel.ErrorInformation.getFailedDescriptor.

Returns the descriptor associated with this failure, or null if the descriptor could not be determined

public void
setAction(ErrorInformation.ErrorAction action)

Implements org.glassfish.hk2.runlevel.ErrorInformation.setAction.

Sets the action the system should take

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

actionback to summary
private ErrorInformation.ErrorAction action
descriptorback to summary
private final Descriptor descriptor
errorback to summary
private final Throwable error

Constructor Detail

ErrorInformationImplback to summary
pack-priv ErrorInformationImpl(Throwable error, ErrorInformation.ErrorAction action, Descriptor descriptor)

Method Detail

getActionback to summary
public ErrorInformation.ErrorAction getAction()

Implements org.glassfish.hk2.runlevel.ErrorInformation.getAction.

Doc from org.glassfish.hk2.runlevel.ErrorInformation.getAction.

Returns the action the system will take

Annotations
@Override
getErrorback to summary
public Throwable getError()

Implements org.glassfish.hk2.runlevel.ErrorInformation.getError.

Doc from org.glassfish.hk2.runlevel.ErrorInformation.getError.

Returns the throwable that caused the error

Annotations
@Override
getFailedDescriptorback to summary
public Descriptor getFailedDescriptor()

Implements org.glassfish.hk2.runlevel.ErrorInformation.getFailedDescriptor.

Doc from org.glassfish.hk2.runlevel.ErrorInformation.getFailedDescriptor.

Returns the descriptor associated with this failure, or null if the descriptor could not be determined

Annotations
@Override
setActionback to summary
public void setAction(ErrorInformation.ErrorAction action)

Implements org.glassfish.hk2.runlevel.ErrorInformation.setAction.

Doc from org.glassfish.hk2.runlevel.ErrorInformation.setAction.

Sets the action the system should take

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override