java.lang.Object
org.snmp4j.agent.AgentConfigManager.ErrorDescriptor
- All Implemented Interfaces:
AgentState.ErrorDescriptor
- Enclosing class:
AgentConfigManager
public static class AgentConfigManager.ErrorDescriptor
extends Object
implements AgentState.ErrorDescriptor
-
Method Summary
Modifier and TypeMethodDescriptionGets the error description.The exception that occurred.intThe source state (before the error).intThe target state (goal without error).
-
Method Details
-
getDescription
Description copied from interface:AgentState.ErrorDescriptorGets the error description.- Specified by:
getDescriptionin interfaceAgentState.ErrorDescriptor- Returns:
- a description of the error.
-
getSourceState
public int getSourceState()Description copied from interface:AgentState.ErrorDescriptorThe source state (before the error).- Specified by:
getSourceStatein interfaceAgentState.ErrorDescriptor- Returns:
- a integer value between
AgentState.STATE_CREATEDandAgentState.STATE_SAVED.
-
getTargetState
public int getTargetState()Description copied from interface:AgentState.ErrorDescriptorThe target state (goal without error).- Specified by:
getTargetStatein interfaceAgentState.ErrorDescriptor- Returns:
- a integer value between
AgentState.STATE_CREATEDandAgentState.STATE_SAVED.
-
getException
Description copied from interface:AgentState.ErrorDescriptorThe exception that occurred.- Specified by:
getExceptionin interfaceAgentState.ErrorDescriptor- Returns:
- an exception.
-