Class SnmpNoSuchObject

  • All Implemented Interfaces:
    Serializable, Cloneable, SnmpSyntax

    public class SnmpNoSuchObject
    extends SnmpV2Error
    The SnmpNoSuchObject object is typically returned by an SNMPv2 agent when there is no matching object identifier for the agent. The object is an SNMPv2 error condition. This condition can be returned to a manager on a variable by variable basis.
    Author:
    Brian Weaver
    See Also:
    SnmpVarBind, Serialized Form
    • Field Detail

      • ASNTYPE

        public static final byte ASNTYPE
        The ASN.1 value that defines this variable.
        See Also:
        Constant Field Values
    • Constructor Detail

      • SnmpNoSuchObject

        public SnmpNoSuchObject()
        The default class construtor.
      • SnmpNoSuchObject

        public SnmpNoSuchObject​(SnmpNoSuchObject second)
        The class copy constructor.
    • Method Detail

      • typeId

        public byte typeId()
        Returns the ASN.1 type for this particular object.
        Specified by:
        typeId in interface SnmpSyntax
        Specified by:
        typeId in class SnmpV2Error
        Returns:
        ASN.1 identifier
      • clone

        public Object clone()
        Returns a duplicate object of self.
        Specified by:
        clone in class SnmpV2Error
        Returns:
        A duplicate of self
      • toString

        public String toString()
        Returns the string representation of the object.
        Overrides:
        toString in class Object