-
- All Known Implementing Classes:
AgentConfigManager.ErrorDescriptor
- Enclosing interface:
- AgentState
public static interface AgentState.ErrorDescriptorTheAgentState.ErrorDescriptorprovides detailed information about the agent state change problem.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDescription()Gets the error description.ExceptiongetException()The exception that occurred.intgetSourceState()The source state (before the error).intgetTargetState()The target state (goal without error).
-
-
-
Method Detail
-
getDescription
String getDescription()
Gets the error description.- Returns:
- a description of the error.
-
getSourceState
int getSourceState()
The source state (before the error).- Returns:
- a integer value between
AgentState.STATE_CREATEDandAgentState.STATE_SAVED.
-
getTargetState
int getTargetState()
The target state (goal without error).- Returns:
- a integer value between
AgentState.STATE_CREATEDandAgentState.STATE_SAVED.
-
getException
Exception getException()
The exception that occurred.- Returns:
- an exception.
-
-