class in jakarta.ejb">EJBException</a></span></div>
<div class="block">Create a calendar-based timer based on the input schedule expression.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>schedule</code> - a schedule expression describing the timeouts for this timer.</dd>
<dt>Returns:</dt>
<dd>the newly created Timer.</dd>
<dt>Throws:</dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalArgumentException.html" title="class or interface in java.lang" 