to top
Android APIs
public class

CertificateException

extends GeneralSecurityException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.security.GeneralSecurityException
         ↳ java.security.cert.CertificateException
Known Direct Subclasses

Class Overview

The base class for all Certificate related exceptions.

Summary

Public Constructors
CertificateException(String msg)
Creates a new CertificateException with the specified message.
CertificateException()
Creates a new CertificateException.
CertificateException(String message, Throwable cause)
Creates a new CertificateException with the specified message and cause.
CertificateException(Throwable cause)
Creates a new CertificateException with the specified cause.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public CertificateException (String msg)

Since: API Level 1

Creates a new CertificateException with the specified message.

Parameters
msg the detail message for the exception.

public CertificateException ()

Since: API Level 1

Creates a new CertificateException.

public CertificateException (String message, Throwable cause)

Since: API Level 1

Creates a new CertificateException with the specified message and cause.

Parameters
message the detail message for the exception.
cause the cause.

public CertificateException (Throwable cause)

Since: API Level 1

Creates a new CertificateException with the specified cause.

Parameters
cause the cause