r interface in java.lang">Throwable</a>&nbsp;cause)</code>
<div class="block">Construct a new method not allowed exception.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../jakarta/ws/rs/NotAllowedException.html#NotAllowedException-java.lang.String-jakarta.ws.rs.core.Response-">NotAllowedException</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</