com.adventnet.snmp.snmp2.agent
Class AgentNoNextObject

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.adventnet.snmp.snmp2.SnmpException
              extended by com.adventnet.snmp.snmp2.agent.AgentSnmpException
                  extended by 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

Field Summary
 
Fields inherited from class com.adventnet.snmp.snmp2.agent.AgentSnmpException
errindex, errstat, errvalue
 
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.
 
Method Summary
 
Methods inherited from class com.adventnet.snmp.snmp2.agent.AgentSnmpException
getErrstat, getErrvalue, setErrstat, setErrvalue, toString, toTagString
 
Methods inherited from class com.adventnet.snmp.snmp2.SnmpException
exceptionString
 
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
 

Constructor Detail

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