com.tivoli.am.fim.trustserver.sts
Class STSModuleException

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

public class STSModuleException
extends com.tivoli.am.fim.trustserver.sts.STSException

Exceptions thrown by the STS modules.

See Also:
Serialized Form

Field Summary
static java.lang.String STSModuleException_java_copyright
           
static java.lang.String STSModuleException_java_sourceCodeID
           
 
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
STSModuleException(com.tivoli.am.fim.logging.FIMLogger log, java.lang.String methodName, java.lang.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(java.lang.String msg)
          Constructs a new exception with the specified message.
STSModuleException(java.lang.String msg, java.lang.Throwable cause)
          Constructs a new exception with the specified cause and message.
STSModuleException(com.tivoli.am.fim.trustserver.sts.STSErrorCode errorCode, com.tivoli.am.fim.logging.FIMLogger log, java.lang.String methodName, java.lang.String msgKey, java.lang.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, java.lang.String methodName, java.lang.String msgKey, java.lang.Object[] arguments, java.lang.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.
 
Method Summary
protected  java.util.ResourceBundle getResourceBundle()
           
 
Methods inherited from class com.tivoli.am.fim.trustserver.sts.STSException
getComponentId, getErrorCode
 
Methods inherited from class com.tivoli.am.fim.exception.ITFIMException
getArguments, getLocalizedMessage, getMessage, getMessageKey, logException, setArguments, setFIMLogger, setMethodName, setMsgKey
 
Methods inherited from class com.tivoli.am.fim.exception.ChainableException
getCause, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

STSModuleException_java_sourceCodeID

public static final java.lang.String STSModuleException_java_sourceCodeID
See Also:
Constant Field Values

STSModuleException_java_copyright

public static final java.lang.String STSModuleException_java_copyright
See Also:
Constant Field Values
Constructor Detail

STSModuleException

public STSModuleException(com.tivoli.am.fim.trustserver.sts.STSErrorCode errorCode,
                          com.tivoli.am.fim.logging.FIMLogger log,
                          java.lang.String methodName,
                          java.lang.String msgKey,
                          java.lang.Object[] arguments,
                          java.lang.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,
                          java.lang.String methodName,
                          java.lang.String msgKey,
                          java.lang.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,
                          java.lang.String methodName,
                          java.lang.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(java.lang.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(java.lang.String msg,
                          java.lang.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
Method Detail

getResourceBundle

protected java.util.ResourceBundle getResourceBundle()
Overrides:
getResourceBundle in class com.tivoli.am.fim.trustserver.sts.STSException