public class GeneralSecurityException extends 异常
GeneralSecurityException
类是一个通用的安全异常类提供了所有与安全相关的异常类的扩展式安全。
Constructor and Description |
---|
GeneralSecurityException()
创建一个不含详细信息generalsecurityexception。
|
GeneralSecurityException(String msg)
创建一个指定详细信息的generalsecurityexception。
|
GeneralSecurityException(String message, Throwable cause)
创建一个指定详细信息和原因
GeneralSecurityException 。
|
GeneralSecurityException(Throwable cause)
创建一个具有指定的原因和
(cause==null ? null : cause.toString()) 详细信息
GeneralSecurityException (通常包含
cause 类和详细信息)。
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public GeneralSecurityException()
public GeneralSecurityException(String msg)
msg
-详细信息。
public GeneralSecurityException(String message, Throwable cause)
GeneralSecurityException
。
message
的详细信息(这是以后的
Throwable.getMessage()
方法检索)。
cause
的原因(这是以后的
Throwable.getCause()
方法检索)。(一
null
值是允许的,并指出原因是不存在的或未知的。)
public GeneralSecurityException(Throwable cause)
(cause==null ? null : cause.toString())
详细信息
GeneralSecurityException
(通常包含
cause
类和详细信息)。
cause
的原因(这是以后的
Throwable.getCause()
方法检索)。(一
null
值是允许的,并指出原因是不存在的或未知的。)
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.