resource/spi/work/WorkException.html" title="class in jakarta.resource.spi.work">WorkException</a>&nbsp;exc)</code>
<div class="block">Constructor.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../jakarta/resource/spi/work/WorkEvent.html#WorkEvent-java.lang.Object-int-jakarta.resource.spi.work.Work-jakarta.resource.spi.work.WorkException-long-">WorkEvent</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-ex