com.ibm.task.api

Class QueryException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    QueryHintException


    public class QueryException
    extends TaskException
    Exception class for error message Api.Query.
    Thrown when: No additional information is available.
    User action: Resolve the error by investigating the details that are mentioned in the error messsage.
    Since:
    6.1.0.1
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT 
    • Constructor Summary

      Constructors 
      Modifier Constructor and Description
        QueryException(java.lang.Object[] vars)
      Constructor.
        QueryException(java.lang.Object[] vars, java.lang.Throwable cause)
      Constructor.
      protected QueryException(java.lang.String key, java.lang.Object[] vars, java.lang.String id, java.lang.Throwable cause)
      Constructor for subclasses only.
      protected QueryException(java.lang.String catalog, java.lang.String key, java.lang.Object[] vars, java.lang.String id, java.lang.Throwable cause)
      Constructor for subclasses only.
    • Constructor Detail

      • QueryException

        public QueryException(java.lang.Object[] vars,
                      java.lang.Throwable cause)
        Constructor.
        Parameters:
        vars - An array with 1 substitution variable for CWTKA0101E: The query could not be processed: {0}.
        {0} shows the error.
        cause - The exception that was thrown.
      • QueryException

        protected QueryException(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.
      • QueryException

        protected QueryException(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