com.objsys.asn1j.runtime
Class Asn1NotInSetException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.objsys.asn1j.runtime.Asn1Exception
                  extended by com.objsys.asn1j.runtime.Asn1NotInSetException
All Implemented Interfaces:
java.io.Serializable

public class Asn1NotInSetException
extends Asn1Exception

This class defines the 'ASN.1 element not in set' exception that is thrown from BER/DER methods when an element is parsed within the context of a SET that does not belong to the set.

See Also:
Serialized Form

Constructor Summary
Asn1NotInSetException(Asn1BerDecodeBuffer buffer, Asn1Tag tag)
          This constructor creates an exception object with a textual message describing the tag of the duplicate element.
 
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
 

Constructor Detail

Asn1NotInSetException

public Asn1NotInSetException(Asn1BerDecodeBuffer buffer,
                             Asn1Tag tag)
This constructor creates an exception object with a textual message describing the tag of the duplicate element.

Parameters:
buffer - BER decode buffer object reference
tag - Tag value of element that is not in the set