Class STSModuleException


  • public class STSModuleException
    extends STSException
    Exceptions thrown by the STS modules.
    Version:
    • 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.
    • Method Summary

      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, 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
    • 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 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​(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 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​(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