| 
HOME | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.ireasoning.protocol.snmp.SnmpException
General Snmp exception.
| Constructor Summary | |
SnmpException(int errorStatusCode)
Constructs a new exception with the specified detail message.  | 
|
SnmpException(String mesg)
Constructs a new exception with the specified detail message.  | 
|
SnmpException(String mesg,
              int errorStatusCode)
Constructs a new exception with the specified detail message.  | 
|
| Method Summary | |
 int | 
getErrorStatus()
Returns a non-zero value to indicate that an exception occurred  | 
 void | 
setErrorStatus(int status)
Sets the error status code  | 
| 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 SnmpException(String mesg)
mesg - the detail message.
public SnmpException(String mesg,
                     int errorStatusCode)
mesg - the detail message.errorStatusCode - error status codeSnmpErrorStatuspublic SnmpException(int errorStatusCode)
errorStatusCode - error status codeSnmpErrorStatus| Method Detail | 
public int getErrorStatus()
public void setErrorStatus(int status)
  | 
HOME | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||