Class STSModuleException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.tivoli.am.fim.exception.ChainableException
com.tivoli.am.fim.exception.ITFIMException
com.tivoli.am.fim.trustserver.sts.STSException
com.tivoli.am.fim.trustserver.sts.STSModuleException
All Implemented Interfaces:
com.tivoli.am.fim.trustserver.sts.STSExceptionBase, Serializable

public class STSModuleException extends com.tivoli.am.fim.trustserver.sts.STSException
Exceptions thrown by the STS modules.
Version:
@VERSION@
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     

    Fields inherited from class com.tivoli.am.fim.trustserver.sts.STSException

    STSException_java_copyright, STSException_java_sourceCodeID

    Fields inherited from class com.tivoli.am.fim.exception.ITFIMException

    ITFIMException_java_copyright, ITFIMException_java_sourceCodeID

    Fields inherited from class com.tivoli.am.fim.exception.ChainableException

    ChainableException_java_copyright, ChainableException_java_sourceCodeID

    Fields inherited from interface com.tivoli.am.fim.trustserver.sts.STSExceptionBase

    STSExceptionBase_java_copyright, STSExceptionBase_java_sourceCodeID
  • Constructor Summary

    Constructors
    Constructor
    Description
    STSModuleException(com.tivoli.am.fim.logging.FIMLogger log, String methodName, Throwable cause)
    Constructs a new exception which was thrown from within the specified method, with the specified cause and logs to the specified logger.
    STSModuleException(com.tivoli.am.fim.trustserver.sts.STSErrorCode errorCode, com.tivoli.am.fim.logging.FIMLogger log, String methodName, String msgKey, Object[] arguments)
    Constructs a new exception which uses a message template to display the exception information to the caller using the message key and arguments.
    STSModuleException(com.tivoli.am.fim.trustserver.sts.STSErrorCode errorCode, com.tivoli.am.fim.logging.FIMLogger log, String methodName, String msgKey, Object[] arguments, Throwable cause)
    Constructs a new exception which uses a message template to display the exception information to the caller using the message key and arguments.
    Constructs a new exception with the specified message.
    Constructs a new exception with the specified cause and message.
  • Method Summary

    Methods inherited from class com.tivoli.am.fim.trustserver.sts.STSException

    getErrorCode

    Methods inherited from class com.tivoli.am.fim.exception.ITFIMException

    getArguments, getLocalizedMessage, getMessage, getMessageKey

    Methods inherited from class com.tivoli.am.fim.exception.ChainableException

    getCause, printStackTrace, printStackTrace, printStackTrace

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

    • STSModuleException

      public STSModuleException(com.tivoli.am.fim.trustserver.sts.STSErrorCode errorCode, com.tivoli.am.fim.logging.FIMLogger log, String methodName, String msgKey, Object[] arguments, Throwable cause)
      Constructs a new exception which uses a message template to display the exception information to the caller using the message key and arguments. This exception can contain an error code, the cause of the exception and logs to the specified logger.
      Parameters:
      errorCode - the error code associated with this exception
      log - the logger where the exception is logged
      methodName - the name of the method where the exception occurred
      msgKey - the message key used to lookup a message template
      arguments - the arguments to the message template
      cause - the cause of the exception
    • STSModuleException

      public STSModuleException(com.tivoli.am.fim.trustserver.sts.STSErrorCode errorCode, com.tivoli.am.fim.logging.FIMLogger log, String methodName, String msgKey, Object[] arguments)
      Constructs a new exception which uses a message template to display the exception information to the caller using the message key and arguments. This exception can contain an error code and logs to the specified logger.
      Parameters:
      errorCode - the error code associated with this exception
      log - the logger where the exception is logged
      methodName - the name of the method where the exception occurred
      msgKey - the message key used to lookup a message template
      arguments - the arguments to the message template
    • STSModuleException

      public STSModuleException(com.tivoli.am.fim.logging.FIMLogger log, String methodName, Throwable cause)
      Constructs a new exception which was thrown from within the specified method, with the specified cause and logs to the specified logger.
      Parameters:
      log - the logger where the exception is logged
      methodName - the name of the method where the exception occurred
      cause - the cause of the exception
    • STSModuleException

      public STSModuleException(String msg)
      Constructs a new exception with the specified message. This constructor will not use TFIM Logging capabilities.
      Parameters:
      msg - the exception message
    • STSModuleException

      public STSModuleException(String msg, Throwable cause)
      Constructs a new exception with the specified cause and message. This constructor will not use TFIM Logging capabilities
      Parameters:
      msg - the exception message
      cause - the cause of the exception