com.iplanet.sso
クラス SSOException

java.lang.Object
  上位を拡張 java.lang.Throwable
      上位を拡張 java.lang.Exception
          上位を拡張 com.sun.identity.shared.locale.L10NMessageImpl
              上位を拡張 com.iplanet.sso.SSOException

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

This SSOException is thrown when there are single sign on token operation error.

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

コンストラクタの概要
SSOException(String msg)
          Constructs a SSOException with a detail message.
SSOException(String bundleName, String errCode, Object[] args)
          Constructs a SSOException with a detailed localizable error message.
SSOException(Throwable t)
          Constructs a SSOException with a specified throwable cause and detailed message.
 
メソッドの概要
 String getL10NMessage()
          Returns the localized message for this exception.
 

コンストラクタの詳細

SSOException

public SSOException(String msg)
Constructs a SSOException with a detail message.

パラメータ:
msg - The message provided by the object that is throwing the exception.

SSOException

public SSOException(String bundleName,
                    String errCode,
                    Object[] args)
Constructs a SSOException with a detailed localizable error message.

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

SSOException

public SSOException(Throwable t)
Constructs a SSOException with a specified throwable cause and detailed message.

パラメータ:
t - The Throwable object provided by the object that is throwing the exception.
メソッドの詳細

getL10NMessage

public String getL10NMessage()
Returns the localized message for this exception. Default locale is used to retrieve this message from properties file, which is the locale of OS.

戻り値:
the localized message for this exception.