enum in jakarta.ws.rs.core">Response.Status</a>&nbsp;status)</pre>
<div class="block">Construct a new server error exception.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>status</code> - server error status. Must be a <code>5xx</code> status code.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentExcept