org.kie.internal.task.exception

## Class TaskException

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

- All Implemented Interfaces:
    Serializable

      public abstract class TaskException
      extends RuntimeException

  Base class for all exceptions for the task related activities see org.jbpm.services.task.service.TaskServiceSession#addTask(org.jbpm.services.task.Task, ContentData)
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TaskException(String message)`
    `TaskException(String message, Throwable cause)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isRecoverable()`
    `void` | `setRecoverable(boolean recoverable)`

    - ### 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

    - #### TaskException

          public TaskException(String message)

    - #### TaskException

          public TaskException(String message,
                               Throwable cause)

  - ### Method Detail

    - #### isRecoverable

          public boolean isRecoverable()

    - #### setRecoverable

          public void setRecoverable(boolean recoverable)

Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.