| java.lang.Object java.lang.Throwable java.lang.Exception snmp.SNMPException snmp.SNMPRequestException
All known Subclasses: snmp.SNMPGetException, snmp.SNMPSetException,
SNMPRequestException | public class SNMPRequestException extends SNMPException (Code) | | Exception thrown when request to get or set the value of an SNMP OID on a device fails. Reason could be
that specified variable not supported by device, or that supplied community name has insufficient
privileges. errorStatus parameter allows the reason for the failure to be specified, and errorIndex
allows the index of the failed OID to be specified.
|
BAD_VALUE | final public static int BAD_VALUE(Code) | | |
FAILED | final public static int FAILED(Code) | | |
NO_ERROR | final public static int NO_ERROR(Code) | | |
VALUE_NOT_AVAILABLE | final public static int VALUE_NOT_AVAILABLE(Code) | | |
VALUE_READ_ONLY | final public static int VALUE_READ_ONLY(Code) | | |
VALUE_TOO_BIG | final public static int VALUE_TOO_BIG(Code) | | |
errorIndex | public int errorIndex(Code) | | |
errorStatus | public int errorStatus(Code) | | |
SNMPRequestException | public SNMPRequestException(int errorIndex, int errorStatus)(Code) | | Create exception with errorIndex, errorStatus
|
SNMPRequestException | public SNMPRequestException(String message, int errorIndex, int errorStatus)(Code) | | Create exception with errorIndex, errorStatus, and message string
|
|
|