com.sun.identity.liberty.ws.interaction
クラス InteractionException

java.lang.Object
  上位を拡張 java.lang.Throwable
      上位を拡張 java.lang.Exception
          上位を拡張 com.sun.identity.shared.locale.L10NMessageImpl
              上位を拡張 com.sun.identity.liberty.ws.interaction.InteractionException
直系の既知のサブクラス:
InteractionRedirectException, InteractionSOAPFaultException

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

Base class for exceptions that could be thrown from InteractionService framework.

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

コンストラクタの概要
InteractionException(String message)
          Constructor
InteractionException(String rbName, String errorCode, Object[] args)
          Constructor Constructs an instance of InteractionException to pass the localized error message At this level, the locale of the caller is not known and it is not possible to throw localized error message.
InteractionException(Throwable nestedException)
          Constructor
 

コンストラクタの詳細

InteractionException

public InteractionException(String message)
Constructor

パラメータ:
message - message for the exception

InteractionException

public InteractionException(Throwable nestedException)
Constructor

パラメータ:
nestedException - Throwable nested in this exception.

InteractionException

public InteractionException(String rbName,
                            String errorCode,
                            Object[] args)
Constructor Constructs an instance of InteractionException to pass the localized error message At this level, the locale of the caller is not known and it is not possible to throw localized error message. Instead this constructor provides Resource Bundle name and error code for correctly locating the error message. The default getMessage() will always return English messages only. This is consistent with current JRE.

パラメータ:
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