-
- All Known Implementing Classes:
AgentConfigManager.ErrorDescriptor
- Enclosing interface:
- AgentState
public static interface AgentState.ErrorDescriptor
TheAgentState.ErrorDescriptor
provides detailed information about the agent state change problem.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDescription()
Gets the error description.Exception
getException()
The exception that occurred.int
getSourceState()
The source state (before the error).int
getTargetState()
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_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.
-
-