- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.snmp4j.MessageException
-
- org.snmp4j.transport.UnsupportedAddressClassException
-
- All Implemented Interfaces:
java.io.Serializable
public class UnsupportedAddressClassException extends MessageException
TheUnsupportedAddressClassException
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnsupportedAddressClassException(java.lang.String message, java.lang.Class<? extends Address> addressClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<? extends Address>
getAddressClass()
Returns the class of the address class that is not supported.-
Methods inherited from class org.snmp4j.MessageException
getSnmp4jErrorStatus, getStatusInformation, setStatusInformation
-
-
-
-
Constructor Detail
-
UnsupportedAddressClassException
public UnsupportedAddressClassException(java.lang.String message, java.lang.Class<? extends Address> addressClass)
-
-
Method Detail
-
getAddressClass
public java.lang.Class<? extends Address> getAddressClass()
Returns the class of the address class that is not supported.- Returns:
- a Class.
-
-