org.opennms.protocols.snmp.asn1
Class AsnEncodingException

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

public class AsnEncodingException
extends Exception

The AsnEncodingException is generated whenever an error occurs in ASN.1 encoding of data types. The errors are generally buffer overflow errors.

Version:
$Revision: 1.6 $
Author:
Brian Weaver
See Also:
Serialized Form

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

AsnEncodingException

public AsnEncodingException()
The default exception constructor

AsnEncodingException

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