com.ibm.itim.script

Class ScriptEvaluatorException

  • All Implemented Interfaces:
    java.io.Serializable

    Deprecated. 
    This class is part of the FESI script framework and will no longer be supported or updated as of ITIM 5.0. Use exceptions that extend from com.ibm.itim.script.ScriptException instead.

    public class ScriptEvaluatorException
    extends ITIMException
    Represents an exception thrown from a script interpreter. This class supports localization with an interface that allows the specification of a resource bundle message and a set of parameters.
    See Also:
    ScriptException, Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String EVAL_ERROR
      Deprecated. 
      Constant representing a message key in a property file indicating a system triggred error.
      static java.lang.String USER_TRIGGERED_EVAL_ERROR
      Deprecated. 
      Constant representing a message key in a property file indicating a user triggred error.
    • Constructor Summary

      Constructors 
      Constructor and Description
      ScriptEvaluatorException(java.lang.String msg)
      Deprecated. 
      Constructs the exception with a message.
      ScriptEvaluatorException(java.lang.String msg, java.lang.Object[] tokenValues)
      Deprecated. 
      Constructs the exception with a message and a list of parameters.
      ScriptEvaluatorException(java.lang.String msg, java.lang.Object[] tokenValues, java.lang.Throwable throwable)
      Deprecated. 
      Constructs the exception with a message and a list of parameters.
      ScriptEvaluatorException(java.lang.String msg, java.lang.Throwable throwable)
      Deprecated. 
      Constructs the exception with a message.
    • Field Detail

      • EVAL_ERROR

        public static final java.lang.String EVAL_ERROR
        Deprecated. 
        Constant representing a message key in a property file indicating a system triggred error.
        See Also:
        Constant Field Values
      • USER_TRIGGERED_EVAL_ERROR

        public static final java.lang.String USER_TRIGGERED_EVAL_ERROR
        Deprecated. 
        Constant representing a message key in a property file indicating a user triggred error.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ScriptEvaluatorException

        public ScriptEvaluatorException(java.lang.String msg,
                                        java.lang.Object[] tokenValues)
        Deprecated. 
        Constructs the exception with a message and a list of parameters. The message could be a key to a message in a resource bundle, or a raw display message. If the message is a key, a list of parameters can be specified that will be inserted into the final message according to the format defined in the resource bundle.
        Parameters:
        msg - Key to a message in a resource bundle, or a raw display message summarizing the problem.
        tokenValues - Object arrray of parameters to be inserted into the final localized message.
      • ScriptEvaluatorException

        public ScriptEvaluatorException(java.lang.String msg,
                                        java.lang.Object[] tokenValues,
                                        java.lang.Throwable throwable)
        Deprecated. 
        Constructs the exception with a message and a list of parameters. The message could be a key to a message in a resource bundle, or a raw display message. If the message is a key, a list of parameters can be specified that will be inserted into the final message according to the format defined in the resource bundle.
        Parameters:
        msg - Key to a message in a resource bundle, or a raw display message summarizing the problem.
        tokenValues - Object arrray of parameters to be inserted into the final localized message.
        throwable - originating exception or error.
      • ScriptEvaluatorException

        public ScriptEvaluatorException(java.lang.String msg,
                                        java.lang.Throwable throwable)
        Deprecated. 
        Constructs the exception with a message. The message could be a key to a message in a resource bundle, or a raw display message.
        Parameters:
        msg - Key to a message in a resource bundle, or a raw display message summarizing the problem.
        throwable - originating exception or error.
      • ScriptEvaluatorException

        public ScriptEvaluatorException(java.lang.String msg)
        Deprecated. 
        Constructs the exception with a message. The message could be a key to a message in a resource bundle, or a raw display message.
        Parameters:
        msg - Key to a message in a resource bundle, or a raw display message summarizing the problem.
    • Method Detail

      • isUserTriggered

        public boolean isUserTriggered()
        Deprecated. 
        Method determins if the exception was triggered by a user.
        Returns:
        true if triggered by user, false otherwise
      • setUserTriggered

        public void setUserTriggered(boolean isUserTriggered)
        Deprecated. 
        Method marks the exception as triggered by a user.
        Parameters:
        isUserTriggered - true if triggered by user, false otherwise