</pre>
<div class="block">Construct a new redirection exception.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>status</code> - redirection status. Must be a <code>3xx</code> redirection code.</dd>
<dd><code>location</code> - redirection URI placed into the response <code>Location</code> header.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IllegalArgumentException.html?is-external=t