Class STSModuleException
- java.lang.Object
-
- STSException
-
- com.tivoli.am.fim.trustserver.sts.STSModuleException
-
public class STSModuleException extends STSException
Exceptions thrown by the STS modules.- Version:
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
STSModuleException_java_copyright
static java.lang.String
STSModuleException_java_sourceCodeID
-
Constructor Summary
Constructors Constructor Description STSModuleException(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(STSErrorCode errorCode, 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(STSErrorCode errorCode, 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.
-
-
-
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
-
-
Constructor Detail
-
STSModuleException
public STSModuleException(STSErrorCode errorCode, 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 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(STSErrorCode errorCode, 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 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(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 loggedmethodName
- the name of the method where the exception occurredcause
- 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 messagecause
- the cause of the exception
-
-