Class ASN1Exception

All Implemented Interfaces:
Serializable

public class ASN1Exception extends IllegalArgumentException
An exception that indicates that ASN.1 encoding or decoding has failed due to invalid input.
Author:
Farah Juma
See Also:
  • Constructor Details

    • ASN1Exception

      public ASN1Exception()
      Constructs a new ASN1Exception instance. The message is left blank (null), and no cause is specified.
    • ASN1Exception

      public ASN1Exception(String msg)
      Constructs a new ASN1Exception instance with an initial message. No cause is specified.
      Parameters:
      msg - the message
    • ASN1Exception

      public ASN1Exception(Throwable cause)
      Constructs a new ASN1Exception instance with an initial cause. If a non-null cause is specified, its message is used to initialize the message of this ASN1Exception; otherwise the message is left blank (null).
      Parameters:
      cause - the cause
    • ASN1Exception

      public ASN1Exception(String msg, Throwable cause)
      Constructs a new ASN1Exception instance with an initial message and cause.
      Parameters:
      msg - the message
      cause - the cause