Most visited

Recently visited

Added in API level 1

ProviderException

public class ProviderException
extends RuntimeException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ java.security.ProviderException


提供程序异常的运行时异常(如错误配置错误或不可恢复的内部错误),可能会被提供程序分类以引发特定于提供程序的运行时错误。

Summary

Public constructors

ProviderException()

构造一个没有详细消息的ProviderException。

ProviderException(String s)

用指定的详细信息构造一个ProviderException。

ProviderException(String message, Throwable cause)

用指定的详细信息和原因创建一个 ProviderException

ProviderException(Throwable cause)

创建 ProviderException与指定的原因和 (cause==null ? null : cause.toString())详细消息(它通常包含的 cause类和详细消息)。

Inherited methods

From class java.lang.Throwable
From class java.lang.Object

Public constructors

ProviderException

Added in API level 1
ProviderException ()

构造一个没有详细消息的ProviderException。 详细消息是描述此特定异常的字符串。

ProviderException

Added in API level 1
ProviderException (String s)

用指定的详细信息构造一个ProviderException。 详细消息是描述此特定异常的字符串。

Parameters
s String: the detail message.

ProviderException

Added in API level 1
ProviderException (String message, 
                Throwable cause)

用指定的详细信息和原因创建一个 ProviderException

Parameters
message String: the detail message (which is saved for later retrieval by the getMessage() method).
cause Throwable: the cause (which is saved for later retrieval by the getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

ProviderException

Added in API level 1
ProviderException (Throwable cause)

创建 ProviderException与指定的原因和 (cause==null ? null : cause.toString())详细消息(它通常包含的 cause类和详细消息)。

Parameters
cause Throwable: the cause (which is saved for later retrieval by the getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

Hooray!