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

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

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.
 
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, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace
 
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