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 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
ConstructorDescriptionSTSModuleException
(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.STSModuleException
(String msg) Constructs a new exception with the specified message.STSModuleException
(String msg, Throwable cause) 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.Throwable
addSuppressed, fillInStackTrace, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Field Details
-
STSModuleException_java_sourceCodeID
- See Also:
-
STSModuleException_java_copyright
- See Also:
-
-
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 exceptionlog
- the logger where the exception is loggedmethodName
- the name of the method where the exception occurredmsgKey
- the message key used to lookup a message templatearguments
- the arguments to the message templatecause
- 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 exceptionlog
- the logger where the exception is loggedmethodName
- the name of the method where the exception occurredmsgKey
- the message key used to lookup a message templatearguments
- 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 loggedmethodName
- the name of the method where the exception occurredcause
- the cause of the exception
-
STSModuleException
Constructs a new exception with the specified message. This constructor will not use TFIM Logging capabilities.- Parameters:
msg
- the exception message
-
STSModuleException
Constructs a new exception with the specified cause and message. This constructor will not use TFIM Logging capabilities- Parameters:
msg
- the exception messagecause
- the cause of the exception
-