public interface ErrorInformation
Modifier and Type | Interface and Description |
---|---|
static class |
ErrorInformation.ErrorAction
The set of actions that the system can perform
when an error is detected
|
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
|
Throwable getError()
ErrorInformation.ErrorAction getAction()
void setAction(ErrorInformation.ErrorAction action)
action
- The action the system will take
once the onError method has returnedDescriptor getFailedDescriptor()
Copyright © 2009-2017, Oracle and/or its affiliates. All Rights Reserved.