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()
ErrorInformation
getError
in interface ErrorInformation
public ErrorInformation.ErrorAction getAction()
ErrorInformation
getAction
in interface ErrorInformation
public void setAction(ErrorInformation.ErrorAction action)
ErrorInformation
setAction
in interface ErrorInformation
action
- The action the system will take
once the onError method has returnedpublic Descriptor getFailedDescriptor()
ErrorInformation
getFailedDescriptor
in interface ErrorInformation
Copyright © 2009-2017, Oracle and/or its affiliates. All Rights Reserved.