Package org.jbpm.examples.exceptions.service

## Class ExceptionService

- java.lang.Object
- - org.jbpm.examples.exceptions.service.ExceptionService

-     public class ExceptionService
      extends Object

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `static String` | `exceptionParameterName` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ExceptionService()` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `handleException​(org.kie.api.runtime.process.WorkItem workItem)` |
    `static void` | `setExceptionParameterName​(String exceptionParam)` |
    `String` | `throwException​(String message)` |

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

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

- - ### Field Detail

    - #### exceptionParameterName

          public static String exceptionParameterName

  - ### Constructor Detail

    - #### ExceptionService

          public ExceptionService()

  - ### Method Detail

    - #### handleException

          public void handleException​(org.kie.api.runtime.process.WorkItem workItem)

    - #### throwException

          public String throwException​(String message)

    - #### setExceptionParameterName

          public static void setExceptionParameterName​(String exceptionParam)