- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.snmp4j.fluent.SnmpCompletableFuture.SnmpErrorException
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- SnmpCompletableFuture
public static class SnmpCompletableFuture.SnmpErrorException extends Exception
ThisSnmpErrorException
represents an SNMP error status and index.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SnmpErrorException(int errorStatus, int errorIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getErrorIndex()
String
getErrorMessage()
int
getErrorStatus()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getErrorStatus
public int getErrorStatus()
-
getErrorIndex
public int getErrorIndex()
-
getErrorMessage
public String getErrorMessage()
-
-