|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--com.adventnet.snmp.snmp2.SnmpException
Class of SNMP Exception - to catch and report SNMP errors.
Constructor Summary | |
SnmpException()
Constructs an SnmpException with no detailed message. |
|
SnmpException(java.lang.String s)
Constructs an SnmpException with the specifc detail message. |
Method Summary | |
static java.lang.String |
exceptionString(byte error)
Constructs an SnmpException with the specified error message. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SnmpException()
public SnmpException(java.lang.String s)
s
- the detail messageMethod Detail |
public static java.lang.String exceptionString(byte error)
error
- Uses the byte argument to determine error string.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |