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.


Variable Index

 o badValue
Error code as defined in RFC 1155 for: badValue.
 o noAccess
Error code as defined in RFC 1902 for: noAccess.
 o noSuchInstance
Error code for reporting a no such instance error.
 o noSuchName
Error code as defined in RFC 1155 for: noSuchName.
 o readOnly
Error code as defined in RFC 1155 for: readOnly.

Constructor Index

 o SnmpStatusException(int)
Construct a new SnmpStatusException with the specified status error.
 o SnmpStatusException(String)
Construct a new SnmpStatusException with an error message.

Method Index

 o getStatus()
Return the error status.

Variables

 o noSuchName
 public static final int noSuchName
Error code as defined in RFC 1155 for: noSuchName.

 o badValue
 public static final int badValue
Error code as defined in RFC 1155 for: badValue.

 o readOnly
 public static final int readOnly
Error code as defined in RFC 1155 for: readOnly.

 o noAccess
 public static final int noAccess
Error code as defined in RFC 1902 for: noAccess.

 o noSuchInstance
 public static final int noSuchInstance
Error code for reporting a no such instance error.

Constructors

 o SnmpStatusException
 public SnmpStatusException(int status)
Construct a new SnmpStatusException with the specified status error.

Parameters:
status - The error status.
 o SnmpStatusException
 public SnmpStatusException(String s)
Construct a new SnmpStatusException with an error message.

Methods

 o getStatus
 public int getStatus()
Return the error status.

Returns:
The error status.

All Packages  Class Hierarchy  This Package  Previous  Next  Index