com.objsys.asn1j.runtime
Class Asn1MissingRequiredException

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.Asn1MissingRequiredException
All Implemented Interfaces:
java.io.Serializable

public class Asn1MissingRequiredException
extends Asn1Exception

This class defines the 'ASN.1 set missing required element' exception that is thrown from BER/DER methods when a SET construct is decoded and found to be missing a required element..

See Also:
Serialized Form

Constructor Summary
Asn1MissingRequiredException(Asn1BerDecodeBuffer buffer)
          This constructor creates an exception object with a textual message describing the error.
Asn1MissingRequiredException(Asn1BerDecodeBuffer buffer, java.lang.String elemName)
          This constructor creates an exception object with a textual message describing the error, including the name of the required element that is missing and the location in the buffer where it failed.
Asn1MissingRequiredException(java.lang.String elemName)
          This constructor creates an exception object with a textual message describing the error including the name of the required element that is missing.
 
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

Asn1MissingRequiredException

public Asn1MissingRequiredException(Asn1BerDecodeBuffer buffer)
This constructor creates an exception object with a textual message describing the error.

Parameters:
buffer - BER decode buffer object reference

Asn1MissingRequiredException

public Asn1MissingRequiredException(Asn1BerDecodeBuffer buffer,
                                    java.lang.String elemName)
This constructor creates an exception object with a textual message describing the error, including the name of the required element that is missing and the location in the buffer where it failed.

Parameters:
buffer - BER decode buffer
elemName - Name of missing required element

Asn1MissingRequiredException

public Asn1MissingRequiredException(java.lang.String elemName)
This constructor creates an exception object with a textual message describing the error including the name of the required element that is missing.

Parameters:
elemName - Name of missing required element