Class ASN1ParsingException

  • All Implemented Interfaces:
    java.io.Serializable

    
    public class ASN1ParsingException
    extends IllegalStateException
                        

    Exception thrown when correctly encoded, but unexpected data is found in a stream while building an object.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public Throwable cause
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Throwable getCause() Return the underlying cause of this exception, if any.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ASN1ParsingException

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

        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

         Throwable getCause()

        Return the underlying cause of this exception, if any.

        Returns:

        the exception causing this one, null if there isn't one.