com.sun.identity.saml.common
クラス SAMLException

java.lang.Object
  上位を拡張 java.lang.Throwable
      上位を拡張 java.lang.Exception
          上位を拡張 com.sun.identity.shared.locale.L10NMessageImpl
              上位を拡張 com.sun.identity.saml.common.SAMLException
直系の既知のサブクラス:
SAMLRequesterException, SAMLResponderException, SAMLVersionMismatchException

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

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

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

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

コンストラクタの詳細

SAMLException

public SAMLException(String s)
Constructs an SAMLException with a message.

パラメータ:
s - exception message.

SAMLException

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

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

SAMLException

public SAMLException(String rbName,
                     String errorCode,
                     Object[] args)
Constructs a new SAMLException 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