Package com.oss.asn1

Class DecodeFailedException

All Implemented Interfaces:

public class DecodeFailedException extends VisitorException
DecodeFailedException is thrown by decode() method of Coder.
ASN.1/Java 1.0-beta A
See Also:
  • Constructor Details

    • DecodeFailedException

      public DecodeFailedException(VisitorException exception)
      Constructs the DecodeFailedException from some other VisitorException
      exception - some VisitorException
  • Method Details

    • getDecodedData

      public AbstractData getDecodedData()
      This method will return partially decoded PDU aggregated in the exception object to the user.
      the partially decoded data.
    • cleanup

      public void cleanup()
      It facilitates explicit cleanup of partially decoded data, especially in the case when the decoded value has nested components with the ValueInFile directive applied. The method will explicitly destroy Storage objects allocated by the decoder that are referenced by VIF fields of the partially decoded PDU.