snmp
Class SNMPGetException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bysnmp.SNMPException
              extended bysnmp.SNMPRequestException
                  extended bysnmp.SNMPGetException
All Implemented Interfaces:
java.io.Serializable

public class SNMPGetException
extends SNMPRequestException

Exception thrown when attempt to get value of SNMP OID from device fails. Reason could be that specified variable not supported by device, or that supplied community name has insufficient privileges.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class snmp.SNMPRequestException
BAD_VALUE, errorIndex, errorStatus, FAILED, NO_ERROR, VALUE_NOT_AVAILABLE, VALUE_READ_ONLY, VALUE_TOO_BIG
 
Constructor Summary
SNMPGetException(int errorIndex, int errorStatus)
          Create exception with errorIndex and errorStatus
SNMPGetException(java.lang.String message, int errorIndex, int errorStatus)
          Create exception with errorIndex, errorStatus and message string
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SNMPGetException

public SNMPGetException(int errorIndex,
                        int errorStatus)
Create exception with errorIndex and errorStatus


SNMPGetException

public SNMPGetException(java.lang.String message,
                        int errorIndex,
                        int errorStatus)
Create exception with errorIndex, errorStatus and message string