All Packages Class Hierarchy This Package Previous Next Index
Class com.sun.jaw.snmp.common.SnmpStatusException
java.lang.Object
|
+----java.lang.Throwable
|
+----java.lang.Exception
|
+----com.sun.jaw.snmp.common.SnmpStatusException
- public class SnmpStatusException
- extends Exception
- implements SnmpDefinitions
The SnmpStatusException class reports an error which
occurred during a get/set operation on an mib node.
This exception includes a status error code as defined in SNMP protocol.
-
badValue
- Error code as defined in RFC 1155 for: badValue.
-
noAccess
- Error code as defined in RFC 1902 for: noAccess.
-
noSuchInstance
- Error code for reporting a no such instance error.
-
noSuchName
- Error code as defined in RFC 1155 for: noSuchName.
-
readOnly
- Error code as defined in RFC 1155 for: readOnly.
-
SnmpStatusException(int)
- Construct a new SnmpStatusException with the specified status error.
-
SnmpStatusException(String)
- Construct a new SnmpStatusException with an error message.
-
getStatus()
- Return the error status.
noSuchName
public static final int noSuchName
- Error code as defined in RFC 1155 for: noSuchName.
badValue
public static final int badValue
- Error code as defined in RFC 1155 for: badValue.
readOnly
public static final int readOnly
- Error code as defined in RFC 1155 for: readOnly.
noAccess
public static final int noAccess
- Error code as defined in RFC 1902 for: noAccess.
noSuchInstance
public static final int noSuchInstance
- Error code for reporting a no such instance error.
SnmpStatusException
public SnmpStatusException(int status)
- Construct a new SnmpStatusException with the specified status error.
- Parameters:
- status - The error status.
SnmpStatusException
public SnmpStatusException(String s)
- Construct a new SnmpStatusException with an error message.
getStatus
public int getStatus()
- Return the error status.
- Returns:
- The error status.
All Packages Class Hierarchy This Package Previous Next Index