public class GeneralSecurityException extends Exception
GeneralSecurityExceptionクラスは汎用のセキュリティ例外クラスであり、このクラスを拡張するすべてのセキュリティ関連例外クラスに対して型保証を提供します。| コンストラクタと説明 |
|---|
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, toStringpublic 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値が許可されており、原因が存在しないか不明であることを示す。) バグまたは機能を送信
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright© 1993, 2014, Oracle and/or its affiliates. All rights reserved.