Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| jBPM distribution 6.1.0-SNAPSHOT
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jbpm.bpmn2.handler
Class AbstractExceptionHandlingTaskHandler

    java.lang.Object
      org.jbpm.bpmn2.handler.AbstractExceptionHandlingTaskHandler

All Implemented Interfaces:
  WorkItemHandler

Direct Known Subclasses:
  LoggingTaskHandlerDecorator, SignallingTaskHandlerDecorator

    public abstract class AbstractExceptionHandlingTaskHandler

extends Object
implements WorkItemHandler

Constructor Summary
`AbstractExceptionHandlingTaskHandler(Class<? extends WorkItemHandler> originalTaskHandlerClass)`
`AbstractExceptionHandlingTaskHandler(WorkItemHandler originalTaskHandler)`

Method Summary
`void` | `abortWorkItem(WorkItem workItem, WorkItemManager manager)` The given work item should be aborted.
`void` | `executeWorkItem(WorkItem workItem, WorkItemManager manager)` The given work item should be executed.
`WorkItemHandler` | `getOriginalTaskHandler()`
`abstract void` | `handleAbortException(Throwable cause, WorkItem workItem, WorkItemManager manager)`
`abstract void` | `handleExecuteException(Throwable cause, WorkItem workItem, WorkItemManager manager)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### AbstractExceptionHandlingTaskHandler

    public AbstractExceptionHandlingTaskHandler(WorkItemHandler originalTaskHandler)

### AbstractExceptionHandlingTaskHandler

    public AbstractExceptionHandlingTaskHandler(Class<? extends WorkItemHandler> originalTaskHandlerClass)

Method Detail

### executeWorkItem

    public void executeWorkItem(WorkItem workItem,
                                WorkItemManager manager)

  Description copied from interface: `WorkItemHandler`
  The given work item should be executed.

  Specified by:
    `executeWorkItem` in interface `WorkItemHandler`
  Parameters:
    `workItem` - the work item that should be executed
    `manager` - the manager that requested the work item to be executed

### abortWorkItem

    public void abortWorkItem(WorkItem workItem,
                              WorkItemManager manager)

  Description copied from interface: `WorkItemHandler`
  The given work item should be aborted.

  Specified by:
    `abortWorkItem` in interface `WorkItemHandler`
  Parameters:
    `workItem` - the work item that should be aborted
    `manager` - the manager that requested the work item to be aborted

### getOriginalTaskHandler

    public WorkItemHandler getOriginalTaskHandler()

### handleExecuteException

    public abstract void handleExecuteException(Throwable cause,
                                                WorkItem workItem,
                                                WorkItemManager manager)

### handleAbortException

    public abstract void handleAbortException(Throwable cause,
                                              WorkItem workItem,
                                              WorkItemManager manager)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| jBPM distribution 6.1.0-SNAPSHOT
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.