org.apache.asn1.codec
Class EncoderException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.asn1.codec.EncoderException
All Implemented Interfaces:
java.io.Serializable

public class EncoderException
extends java.lang.Exception

Thrown when there is a failure condition during the encoding process. This exception is thrown when an Encoder encounters a encoding specific exception such as invalid data, inability to calculate a checksum, characters outside of the expected range.

Version:
$Id: EncoderException.java,v 1.12 2004/09/09 13:39:08 ggregory Exp $
Author:
Apache Software Foundation
See Also:
Serialized Form

Field Summary
private static long serialVersionUID
          Declares the Serial Version Uid.
 
Constructor Summary
EncoderException(java.lang.String pMessage)
          Creates a new instance of this exception with an useful message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Declares the Serial Version Uid.

See Also:
Always Declare Serial Version Uid, Constant Field Values
Constructor Detail

EncoderException

public EncoderException(java.lang.String pMessage)
Creates a new instance of this exception with an useful message.

Parameters:
pMessage - a useful message relating to the encoder specific error.


Copyright © 2004-2009 . All Rights Reserved.