public class ProviderException
extends RuntimeException
| java.lang.Object | ||||
| java.lang.Throwable | ||||
| java.lang.Exception | ||||
| java.lang.RuntimeException | ||||
| java.security.ProviderException | ||||
提供程序异常的运行时异常(如错误配置错误或不可恢复的内部错误),可能会被提供程序分类以引发特定于提供程序的运行时错误。
Public constructors |
|
|---|---|
ProviderException() 构造一个没有详细消息的ProviderException。 |
|
ProviderException(String s) 用指定的详细信息构造一个ProviderException。 |
|
ProviderException(String message, Throwable cause) 用指定的详细信息和原因创建一个 |
|
ProviderException(Throwable cause) 创建 |
|
继承方法(Inherited methods) |
|
|---|---|
java.lang.Throwable
|
|
java.lang.Object
|
|
ProviderException ()
构造一个没有详细消息的ProviderException。 详细消息是描述此特定异常的字符串。
ProviderException (String s)
用指定的详细信息构造一个ProviderException。 详细消息是描述此特定异常的字符串。
| 参数(Parameters) | |
|---|---|
s |
String: the detail message. |
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 (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.) |