Class SnmpHandlerNotDefinedException

  • All Implemented Interfaces:
    java.io.Serializable

    public class SnmpHandlerNotDefinedException
    extends java.lang.RuntimeException
    Defines a runtime exception when the program attempts to send a SnmpPduPacket and there is no default handler defined. This is considered a runtime exception since if there isn't a handler registered yet, is there likely to be one after the exception?
    See Also:
    Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SnmpHandlerNotDefinedException

        public SnmpHandlerNotDefinedException​(java.lang.String why)
        The exception constructor
        Parameters:
        why - The reason the exception is being raised
      • SnmpHandlerNotDefinedException

        public SnmpHandlerNotDefinedException()
        Default exception constructor