Package org.opennms.protocols.snmp
Class SnmpHandlerNotDefinedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.opennms.protocols.snmp.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 Summary
Constructors Constructor Description SnmpHandlerNotDefinedException()
Default exception constructorSnmpHandlerNotDefinedException(String why)
The exception constructor
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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
-
-