|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.management.snmp.SnmpTooBigException
com.sun.management.snmp in
preference to classes in this package. This class may be removed
in a future version of Java DMK.
Is used internally to signal that the size of a PDU exceeds the packet size limitation.
You will not usually need to use this class, except if you
decide to implement your own
SnmPduFactory object.
The varBindCount property contains the
number of SnmpVarBind successfully encoded
before the exception was thrown. Its value is 0
when this number is unknown.
| Constructor Summary | |
SnmpTooBigException()
Deprecated. Builds an SnmpTooBigException with
varBindCount set to 0. |
|
SnmpTooBigException(int n)
Deprecated. Builds an SnmpTooBigException with
varBindCount set to the specified value. |
|
| Method Summary | |
int |
getVarBindCount()
Deprecated. Returns the number of SnmpVarBind successfully
encoded before the exception was thrown. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SnmpTooBigException()
SnmpTooBigException with
varBindCount set to 0.
public SnmpTooBigException(int n)
SnmpTooBigException with
varBindCount set to the specified value.
n - The varBindCount value.| Method Detail |
public int getVarBindCount()
SnmpVarBind successfully
encoded before the exception was thrown.
|
FCS Release jdmk-5_1-b34.2 2005.11.29_16:24:00_MET |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||