org.opennms.protocols.snmp
Class SnmpPduEncodingException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.opennms.protocols.snmp.SnmpPduEncodingException
All Implemented Interfaces:
Serializable

public class SnmpPduEncodingException
extends Exception

This class is thrown by the SNMP classes when an encoding exception occurs at the SNMP level and not via the AsnEncoder class.

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

Fields inherited from class java.lang.Throwable
backtrace, detailMessage, serialVersionUID
 
Constructor Summary
SnmpPduEncodingException()
          The default exception constructor
SnmpPduEncodingException(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

SnmpPduEncodingException

public SnmpPduEncodingException()
The default exception constructor

SnmpPduEncodingException

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