java.lang.Object
java.lang.Throwable
java.lang.Exception
java.security.GeneralSecurityException
- すべての実装されたインタフェース:
- Serializable
- 直系の既知のサブクラス:
- BadPaddingException,- CertificateException,- CertPathBuilderException,- CertPathValidatorException,- CertStoreException,- CRLException,- DecapsulateException,- DigestException,- ExemptionMechanismException,- IllegalBlockSizeException,- InvalidAlgorithmParameterException,- InvalidKeySpecException,- InvalidParameterSpecException,- KeyException,- KeyStoreException,- LoginException,- NoSuchAlgorithmException,- NoSuchPaddingException,- NoSuchProviderException,- ShortBufferException,- SignatureException,- UnrecoverableEntryException
public class GeneralSecurityException extends Exception
GeneralSecurityExceptionクラスは汎用のセキュリティ例外クラスであり、このクラスを拡張するすべてのセキュリティ関連例外クラスに対して型保証を提供します。- 導入されたバージョン:
- 1.2
- 関連項目:
- 
コンストラクタのサマリーコンストラクタコンストラクタ説明詳細メッセージを持たないGeneralSecurityExceptionを構築します。指定した詳細メッセージを持つGeneralSecurityExceptionを構築します。GeneralSecurityException(String message, Throwable cause) 指定した詳細メッセージと原因を持つGeneralSecurityExceptionを作成します。指定された原因と詳細メッセージ(cause==null ? null : cause.toString())を持つGeneralSecurityExceptionを作成します(通常、causeのクラスと詳細メッセージを含みます)。
- 
メソッドのサマリークラスjava.lang.Throwableで宣言されたメソッドaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
コンストラクタの詳細- 
GeneralSecurityExceptionpublic GeneralSecurityException()詳細メッセージを持たないGeneralSecurityExceptionを構築します。
- 
GeneralSecurityExceptionpublic GeneralSecurityException(String msg) 指定した詳細メッセージを持つGeneralSecurityExceptionを構築します。 詳細メッセージとは、この例外を記述するStringです。- パラメータ:
- msg- 詳細メッセージ。
 
- 
GeneralSecurityException指定した詳細メッセージと原因を持つGeneralSecurityExceptionを作成します。- パラメータ:
- message- 詳細メッセージ(あとで- Throwable.getMessage()メソッドで取得できるように保存される)。
- cause- 原因(あとで- Throwable.getCause()メソッドで取得できるように保存される)。 (- null値が許可されており、原因が存在しないか不明であることを示す。)
- 導入されたバージョン:
- 1.5
 
- 
GeneralSecurityExceptionpublic GeneralSecurityException(Throwable cause) 指定された原因と詳細メッセージ(cause==null ? null : cause.toString())を持つGeneralSecurityExceptionを作成します(通常、causeのクラスと詳細メッセージを含みます)。- パラメータ:
- cause- 原因(あとで- Throwable.getCause()メソッドで取得できるように保存される)。 (- null値が許可されており、原因が存在しないか不明であることを示す。)
- 導入されたバージョン:
- 1.5
 
 
-