der.</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">IllegalArgumentException</a></code> - if mediaTypes is null or
          contains no elements.</dd>
</dl>
</li>
</ul>
<a name="languages-java.util.Locale...-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>languages</h4>
<pre>public static&nbsp;<a href="../../../../javax/w