com.adventnet.snmp.snmp2.agent
Class AgentNoNextObject
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.adventnet.snmp.snmp2.SnmpException
com.adventnet.snmp.snmp2.agent.AgentSnmpException
com.adventnet.snmp.snmp2.agent.AgentNoNextObject
- All Implemented Interfaces:
- java.io.Serializable
Deprecated. Since the GetNextSupported is deprecated.
public class AgentNoNextObject
- extends AgentSnmpException
The purpose of this class is to catch and report Agent side errors.
A user class throws this exception when it finds there is no next
instance. Useful for getnext operations especially for tables.
This exception is thrown especially by classes implementing the
SnmpAgentData , GetNextSupported interfaces
- Since:
- AdventNet Agent Toolkit (Java Edition) 4.2 release.
- See Also:
SnmpAgentData,
GetNextSupported,
Serialized Form
|
Constructor Summary |
AgentNoNextObject()
Deprecated. Constructs a AgentNoNextObject with no detail message. |
AgentNoNextObject(java.lang.String s)
Deprecated. Constructs a AgentNoNextObject with the specified detail message. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AgentNoNextObject
public AgentNoNextObject()
- Deprecated.
- Constructs a AgentNoNextObject with no detail message.
A detail message is a String that describes this particular exception.
AgentNoNextObject
public AgentNoNextObject(java.lang.String s)
- Deprecated.
- Constructs a AgentNoNextObject with the specified detail message.
A detail message is a String that describes this particular exception.
- Parameters:
s - the detail message