legalStateException</a>,
<a href="EJBException.html" title="class in jakarta.ejb">EJBException</a></span></div>
<div class="block">Returns all active timers associated with this bean. These include both the programmatically-created timers and the
 automatically-created timers.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>a collection of <code>jakarta.ejb.Timer</code> objects.</dd>
<dt>Throws:</dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalStateExcepti