com.sun.identity.wsfederation.common
クラス WSFederationException

java.lang.Object
  上位を拡張 java.lang.Throwable
      上位を拡張 java.lang.Exception
          上位を拡張 com.sun.identity.shared.locale.L10NMessageImpl
              上位を拡張 com.sun.identity.wsfederation.common.WSFederationException

public class WSFederationException
extends com.sun.identity.shared.locale.L10NMessageImpl

This class is an extension point for all WS-Federation related exceptions. It also handles message localization in WS-Federation exceptions.

関連項目:
直列化された形式

コンストラクタの概要
WSFederationException(String message)
          Constructs a new WSFederationException with the given message.
WSFederationException(String rbName, String errorCode, Object[] args)
          Constructs a new WSFederationException without a nested Throwable.
WSFederationException(Throwable t)
          Constructs an WSFederationException with given Throwable.
 

コンストラクタの詳細

WSFederationException

public WSFederationException(String rbName,
                             String errorCode,
                             Object[] args)
Constructs a new WSFederationException without a nested Throwable.

パラメータ:
rbName - Resource Bundle Name to be used for getting localized error message.
errorCode - Key to resource bundle. You can use
 ResourceBundle rb = ResourceBunde.getBundle (rbName,locale);
 String localizedStr = rb.getString(errorCode);
 
args - arguments to message. If it is not present pass them as null

WSFederationException

public WSFederationException(String message)
Constructs a new WSFederationException with the given message.

パラメータ:
message - message for this exception. This message can be later retrieved by getMessage() method.

WSFederationException

public WSFederationException(Throwable t)
Constructs an WSFederationException with given Throwable.

パラメータ:
t - Exception nested in the new exception.