Module org.snmp4j

Class UnsupportedAddressClassException

  • All Implemented Interfaces:

    public class UnsupportedAddressClassException
    extends MessageException
    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.
    Frank Fock
    See Also:
    Serialized Form
    • 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 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
    • 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.
        a Class.