com.ibm.task.api

Class InvalidStoredQueryParametersException

  • All Implemented Interfaces:
    java.io.Serializable


    public class InvalidStoredQueryParametersException
    extends TaskException
    Exception class for error message Api.InvalidStoredQueryParameters.
    Thrown when: The number of parameter values passed for replacement in the where-clause of the named stored query do not match the expected number of parameters.
    User action: Check the where-clause of the named stored query and pass the required number of parameter values.
    Since:
    6.0.2
    See Also:
    Serialized Form
    • Constructor Detail

      • InvalidStoredQueryParametersException

        public InvalidStoredQueryParametersException(java.lang.Object[] vars,
                                             java.lang.Throwable cause)
        Constructor.
        Parameters:
        vars - An array with 3 substitution variables for CWTKA0089E: Parameter list (''{2}'') for StoredQuery ''{0}'' and where-clause ''{1}'' is invalid.
        {0} Name of the stored query.
        {1} The where-clause of the stored query where parameters are to be replaced.
        {2} The parameter values to be replaced in the where-clause.
        cause - The exception that was thrown.
      • InvalidStoredQueryParametersException

        protected InvalidStoredQueryParametersException(java.lang.String key,
                                             java.lang.Object[] vars,
                                             java.lang.String id,
                                             java.lang.Throwable cause)
        Constructor for subclasses only. It has package access so it does not show up in the public Javadoc.
        Parameters:
        key - The message key.
        vars - The values of the message variables. Can be an empty array. If the array contains objects, they must be Serializable.
        id - The message identifier.
        cause - The exception that was thrown.
      • InvalidStoredQueryParametersException

        protected InvalidStoredQueryParametersException(java.lang.String catalog,
                                             java.lang.String key,
                                             java.lang.Object[] vars,
                                             java.lang.String id,
                                             java.lang.Throwable cause)
        Constructor for subclasses only. It has package access so it does not show up in the public Javadoc.
        Parameters:
        catalog - The catalog which have to be used to retrieve the message.
        key - The message key.
        vars - The values of the message variables. Can be an empty array. If the array contains objects, they must be Serializable.
        id - The message identifier.
        cause - The exception that was thrown.
IBM Business Process ManagerTM
Release 8