Class Untrusted

  • All Implemented Interfaces:
    Serializable

    public class Untrusted
    extends RuntimeException
    Thrown in cases where a certificate or certificate path is treated as trusted, but in fact cannot be trusted. If this exception is encountered, it typically indicates a programming error, where one should first query if the certificate is trusted, and then retrieve it.
    See Also:
    Serialized Form