- 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
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Class<? extends Address>
addressClass
private static long
serialVersionUID
-
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
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
addressClass
private java.lang.Class<? extends Address> addressClass
-
-
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.
-
-