|
||||||||||
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 java.lang.RuntimeException net.sf.snmpadaptor4j.api.SnmpException
public final class SnmpException
SNMP exception.
Constructor Summary | |
---|---|
SnmpException(int errorStatus)
Constructor. |
|
SnmpException(String message,
int errorStatus)
Constructor. |
|
SnmpException(String message,
int errorStatus,
org.apache.log4j.Level loggerLevel)
Constructor. |
|
SnmpException(String message,
int errorStatus,
Throwable cause)
Constructor. |
Method Summary | |
---|---|
int |
getErrorStatus()
Returns the error status. |
org.apache.log4j.Level |
getLoggerLevel()
Returns the logger level. |
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(int errorStatus)
errorStatus
- Error status.public SnmpException(String message, int errorStatus, Throwable cause)
message
- Detailed message on error.errorStatus
- Error status.cause
- Error cause.public SnmpException(String message, int errorStatus)
message
- Detailed message on error.errorStatus
- Error status.public SnmpException(String message, int errorStatus, org.apache.log4j.Level loggerLevel)
message
- Detailed message on error.errorStatus
- Error status.loggerLevel
- Logger level.Method Detail |
---|
public int getErrorStatus()
public org.apache.log4j.Level getLoggerLevel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |