Package org.jbpm.services.task.exception

## Class IncorrectParametersException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - org.kie.internal.task.exception.TaskException
        - - org.jbpm.services.task.exception.IncorrectParametersException

- All Implemented Interfaces:
    `Serializable`

      public class IncorrectParametersException
      extends org.kie.internal.task.exception.TaskException

  Exception that is thrown when the parameters to a query are incorrect, with regard to either the number or type.
  See Also:
    `org.jbpm.services.task.service.TaskPersistenceManager#runQueryWithParametersInTx`, Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `IncorrectParametersException​(String message)` |
    `IncorrectParametersException​(String message, Throwable cause)` |

  - ### Method Summary

    - ### Methods inherited from class org.kie.internal.task.exception.TaskException

      `isRecoverable, setRecoverable`

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### IncorrectParametersException

          public IncorrectParametersException​(String message)

    - #### IncorrectParametersException

          public IncorrectParametersException​(String message,
                                              Throwable cause)