Class SnmpHandlerNotDefinedException

  • All Implemented Interfaces:
    Serializable

    public class SnmpHandlerNotDefinedException
    extends 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
    • Constructor Detail

      • SnmpHandlerNotDefinedException

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

        public SnmpHandlerNotDefinedException()
        Default exception constructor