Throws:</span></dt>
<dd><code><a href="http://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 the value of either of the handler or key arguments is null,
 or the value of the replace argument is <code>false</code> and a handler
 with the same key as the argument handler is already registered.</dd>
<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/SecurityException