public class ErrorInformationImpl extends Object implements ErrorInformation
ErrorInformation.ErrorAction| Modifier and Type | Method and Description |
|---|---|
ErrorInformation.ErrorAction |
getAction()
Returns the action the system will take
|
Throwable |
getError()
Returns the throwable that caused the error
|
Descriptor |
getFailedDescriptor()
Returns the descriptor associated with this failure,
or null if the descriptor could not be determined
|
void |
setAction(ErrorInformation.ErrorAction action)
Sets the action the system should take
|
String |
toString() |
public Throwable getError()
ErrorInformationgetError in interface ErrorInformationpublic ErrorInformation.ErrorAction getAction()
ErrorInformationgetAction in interface ErrorInformationpublic void setAction(ErrorInformation.ErrorAction action)
ErrorInformationsetAction in interface ErrorInformationaction - The action the system will take
once the onError method has returnedpublic Descriptor getFailedDescriptor()
ErrorInformationgetFailedDescriptor in interface ErrorInformationCopyright © 2009–2019 Oracle Corporation. All rights reserved.