public static enum SnmpPdu.ErrorType extends Enum<SnmpPdu.ErrorType>
Modifier and Type | Method and Description |
---|---|
static SnmpPdu.ErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SnmpPdu.ErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SnmpPdu.ErrorType PDU_NOT_INITIALIZED
public static final SnmpPdu.ErrorType PDU_NO_ERROR
public static final SnmpPdu.ErrorType PDU_TOO_BIG
public static final SnmpPdu.ErrorType PDU_NO_SUCH_NAME
public static final SnmpPdu.ErrorType PDU_BAD_VALUE
public static final SnmpPdu.ErrorType PDU_READ_ONLY
public static final SnmpPdu.ErrorType PDU_GENERAL_ERROR
public static final SnmpPdu.ErrorType PDU_NO_ACCESS
public static final SnmpPdu.ErrorType PDU_WRONG_TYPE
public static final SnmpPdu.ErrorType PDU_WRONG_LENGTH
public static final SnmpPdu.ErrorType PDU_WRONG_ENCODING
public static final SnmpPdu.ErrorType PDU_WRONG_VALUE
public static final SnmpPdu.ErrorType PDU_NO_CREATION
public static final SnmpPdu.ErrorType PDU_INCONSISTENT_VALUE
public static final SnmpPdu.ErrorType PDU_RESOURCE_UNAVAILABLE
public static final SnmpPdu.ErrorType PDU_COMMIT_FAILED
public static final SnmpPdu.ErrorType PDU_UNDO_FAILED
public static final SnmpPdu.ErrorType PDU_AUTHORIZATION_ERRROR
public static final SnmpPdu.ErrorType PDU_NOT_WRITABLE
public static final SnmpPdu.ErrorType PDU_INCONSISTENT_NAME
public static SnmpPdu.ErrorType[] values()
for (SnmpPdu.ErrorType c : SnmpPdu.ErrorType.values()) System.out.println(c);
public static SnmpPdu.ErrorType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2015. All Rights Reserved.