| Modifier and Type | Class and Description |
|---|---|
| public static enum | ErrorInformation.
The set of actions that the system can perform when an error is detected |
| Modifier and Type | Method and Description |
|---|---|
| public ErrorInformation. | Returns: The action the system will take once the onError method has returnedReturns the action the system will take |
| public Throwable | Returns: The non-null throwable that caused the error to occurReturns the throwable that caused the error |
| public Descriptor | Returns: The failed descriptor, or null if the descriptor could not be determinedReturns the descriptor associated with this failure, or null if the descriptor could not be determined |
| public void | setAction(ErrorInformation.
The action the system will take
once the onError method has returned actionSets the action the system should take |
| getAction | back to summary |
|---|---|
| public ErrorInformation. Returns the action the system will take
| |
| getError | back to summary |
|---|---|
| public Throwable getError() Returns the throwable that caused the error
| |
| getFailedDescriptor | back to summary |
|---|---|
| public Descriptor getFailedDescriptor() Returns the descriptor associated with this failure, or null if the descriptor could not be determined
| |
| setAction | back to summary |
|---|---|
| public void setAction(ErrorInformation. Sets the action the system should take
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final ErrorInformation. | GO_TO_NEXT_LOWER_LEVEL_AND_STOP
Tells the RunLevelController to halt progress in the level and proceed to the next lowest level and stop the proceeding at that level. |
| public static final ErrorInformation. | IGNORE
Tells the RunLevelController to disregard the error and continue its progress as if the error never happened. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static ErrorInformation. | |
| public static ErrorInformation. |
| GO_TO_NEXT_LOWER_LEVEL_AND_STOP | back to summary |
|---|---|
| public static final ErrorInformation. Tells the RunLevelController to halt progress
in the level and proceed to the next lowest
level and stop the proceeding at that level.
This is the default action when an error is
encountered while the system is proceeding
upward. The error (or errors) will be thrown
by the | |
| IGNORE | back to summary |
|---|---|
| public static final ErrorInformation. Tells the RunLevelController to disregard
the error and continue its progress as if
the error never happened. This is the default
action when an error is encountered while
the system is proceeding downward. The error
(or errors) will NOT be thrown by the
| |
| ErrorAction | back to summary |
|---|---|
| private ErrorAction() | |
| valueOf | back to summary |
|---|---|
| public static ErrorInformation. | |
| values | back to summary |
|---|---|
| public static ErrorInformation. | |