|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception com.sun.management.snmp.SnmpTooBigException
public class SnmpTooBigException
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()
Builds an SnmpTooBigException with
varBindCount set to 0. |
|
SnmpTooBigException(int n)
Builds an SnmpTooBigException with
varBindCount set to the specified value. |
Method Summary | |
---|---|
int |
getVarBindCount()
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.
|
Open Source build 02 opendmk-1.0-b02 2007.10.01_19:17:46_MEST |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |