All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.sun.jaw.snmp.common.SnmpTooBigException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----com.sun.jaw.snmp.common.SnmpTooBigException

public class SnmpTooBigException
extends Exception
The SnmpTooBigException is used internally to signal that the size of a pdu exceeds the packet size limitation.

You normally don't need to use this class except if you decide to implement your own SnmPduFactoryIf object.

The varBindCount property contains the number of SnmpVarBind successfully encoded before the the exception was thrown. Its value is 0 when this number is unknown.


Constructor Index

 o SnmpTooBigException()
Builds an SnmpTooBigException with varBindCount set to 0.
 o SnmpTooBigException(int)
Builds an SnmpTooBigException with varBindCount set to the specified value.

Method Index

 o getVarBindCount()
Returns the number of SnmpVarBind successfully encoded before the exception was thrown.

Constructors

 o SnmpTooBigException
 public SnmpTooBigException()
Builds an SnmpTooBigException with varBindCount set to 0.

 o SnmpTooBigException
 public SnmpTooBigException(int n)
Builds an SnmpTooBigException with varBindCount set to the specified value.

Methods

 o getVarBindCount
 public int getVarBindCount()
Returns the number of SnmpVarBind successfully encoded before the exception was thrown.

Returns:
a positive integer (0 means the number is unknown).

All Packages  Class Hierarchy  This Package  Previous  Next  Index