java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.snmp4j.MessageException
org.snmp4j.transport.UnsupportedAddressClassException
- All Implemented Interfaces:
Serializable
The
UnsupportedAddressClassException
indicates a message
exception caused by unsupported address class. When this exception is
thrown, the target address class is not supported by the entity that
is to sent the message and that operation will be canceled.- Version:
- 1.6
- Author:
- Frank Fock
- See Also:
-
Constructor Summary
ConstructorDescriptionUnsupportedAddressClassException
(String message, Class<? extends Address> addressClass) -
Method Summary
Modifier and TypeMethodDescriptionReturns the class of the address class that is not supported.Methods inherited from class org.snmp4j.MessageException
getSnmp4jErrorStatus, getStatusInformation, setStatusInformation
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnsupportedAddressClassException
-
-
Method Details
-
getAddressClass
Returns the class of the address class that is not supported.- Returns:
- a Class.
-