|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
javax.security.sasl.SaslException
javax.security.sasl.AuthenticationException
public class AuthenticationException
この例外は、SASL 機構の実装によってスローされ、ID、パスフレーズ、またはキーが無効であるなどの認証に関連した理由により、SASL 交換に失敗したことを示します。
AuthenticationException がスローされなくても、障害が認証エラーによるものである場合があるので注意してください。SASL 機構の実装では、障害の性質を特定できない場合や、セキュリティー上の理由などにより、障害の性質を明らかにしたくない場合は、AuthenticationException ではなく、より一般的な SaslException をスローすることがあります。
| コンストラクタの概要 | |
|---|---|
AuthenticationException()
AuthenticationException の新しいインスタンスを構築します。 |
|
AuthenticationException(String detail)
詳細メッセージを含む AuthenticationException の新しいインスタンスを構築します。 |
|
AuthenticationException(String detail,
Throwable ex)
詳細メッセージとルート例外を含む AuthenticationException の新しいインスタンスを構築します。 |
|
| メソッドの概要 |
|---|
| クラス javax.security.sasl.SaslException から継承されたメソッド |
|---|
getCause, initCause, toString |
| クラス java.lang.Throwable から継承されたメソッド |
|---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public AuthenticationException()
public AuthenticationException(String detail)
detail - この例外に関する詳細情報を含む文字列。 null の場合もあるThrowable.getMessage()
public AuthenticationException(String detail,
Throwable ex)
detail - この例外に関する詳細情報を含む文字列。 null の場合もあるex - この例外がスローされる原因となったルート例外。 null の場合もあるThrowable.getMessage(),
SaslException.getCause()
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。