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?

Version:
$Revision: 1.6 $
See Also:
Serialized Form

Fields inherited from class java.lang.Throwable
backtrace, detailMessage, serialVersionUID
 
Constructor Summary
SnmpHandlerNotDefinedException()
          Default exception constructor
SnmpHandlerNotDefinedException(String why)
          The exception constructor
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, printStackTrace0, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

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