public class NoSuchAlgorithmException
extends GeneralSecurityException
| java.lang.Object | ||||
| java.lang.Throwable | ||||
| java.lang.Exception | ||||
| java.security.GeneralSecurityException | ||||
| java.security.NoSuchAlgorithmException | ||||
当请求特定的加密算法但在环境中不可用时抛出此异常。
Public constructors |
|
|---|---|
NoSuchAlgorithmException() 构造一个没有详细消息的NoSuchAlgorithmException。 |
|
NoSuchAlgorithmException(String msg) 用指定的详细信息构造一个NoSuchAlgorithmException。 |
|
NoSuchAlgorithmException(String message, Throwable cause) 用指定的详细信息和原因创建一个 |
|
NoSuchAlgorithmException(Throwable cause) 创建 |
|
继承方法(Inherited methods) |
|
|---|---|
java.lang.Throwable
|
|
java.lang.Object
|
|
NoSuchAlgorithmException ()
构造一个没有详细消息的NoSuchAlgorithmException。 详细消息是描述此特定异常的字符串。
NoSuchAlgorithmException (String msg)
用指定的详细信息构造一个NoSuchAlgorithmException。 详细消息是描述此特定异常的字符串,例如,它可以指定哪种算法不可用。
| 参数(Parameters) | |
|---|---|
msg |
String: the detail message. |
NoSuchAlgorithmException (String message, Throwable cause)
用指定的详细信息和原因创建一个 NoSuchAlgorithmException 。
| 参数(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.) |
NoSuchAlgorithmException (Throwable cause)
创建 NoSuchAlgorithmException与指定的原因和 (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.) |