com.ibm.itim.script
Class ScriptEvaluatorException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.ibm.itim.exception.ITIMException
                    |
                    +--com.ibm.itim.script.ScriptEvaluatorException
All Implemented Interfaces:
java.io.Serializable

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:
Serialized Form

Constructor Summary
ScriptEvaluatorException(java.lang.String msg)
          Constructs the exception with a message.
ScriptEvaluatorException(java.lang.String msg, java.lang.Object[] tokenValues)
          Constructs the exception with a message and a list of parameters.
ScriptEvaluatorException(java.lang.String msg, java.lang.Object[] tokenValues, java.lang.Throwable throwable)
          Constructs the exception with a message and a list of parameters.
ScriptEvaluatorException(java.lang.String msg, java.lang.Throwable throwable)
          Constructs the exception with a message.
 
Methods inherited from class com.ibm.itim.exception.ITIMException
getMessage, getMessage, getMessageId, getThrowable, getTokens, normalize, printStackTrace, printStackTrace, printStackTrace, toXML
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScriptEvaluatorException

public ScriptEvaluatorException(java.lang.String msg,
                                java.lang.Object[] tokenValues)
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)
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)
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)
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.