- All Known Implementing Classes:
AgentConfigManager.ErrorDescriptor
- Enclosing interface:
AgentState
public static interface AgentState.ErrorDescriptor
The
AgentState.ErrorDescriptor
provides detailed information about the agent state change problem.-
Method Summary
Modifier and TypeMethodDescriptionGets the error description.The exception that occurred.int
The source state (before the error).int
The target state (goal without error).
-
Method Details
-
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_CREATED
andAgentState.STATE_SAVED
.
-
getTargetState
int getTargetState()The target state (goal without error).- Returns:
- a integer value between
AgentState.STATE_CREATED
andAgentState.STATE_SAVED
.
-
getException
Exception getException()The exception that occurred.- Returns:
- an exception.
-