Class ASN1ParsingException

  • All Implemented Interfaces:
    Serializable

    public class ASN1ParsingException
    extends IllegalStateException
    Exception thrown when correctly encoded, but unexpected data is found in a stream while building an object.
    See Also:
    Serialized Form
    • Constructor Detail

      • ASN1ParsingException

        public ASN1ParsingException​(String message)
        Base constructor
        Parameters:
        message - a message concerning the exception.
      • ASN1ParsingException

        public ASN1ParsingException​(String message,
                                    Throwable cause)
        Constructor when this exception is due to another one.
        Parameters:
        message - a message concerning the exception.
        cause - the exception that caused this exception to be thrown.
    • Method Detail

      • getCause

        public Throwable getCause()
        Return the underlying cause of this exception, if any.
        Overrides:
        getCause in class Throwable
        Returns:
        the exception causing this one, null if there isn't one.