Binds <tt>value</tt> for the given <code>key</code> to the current thread.
<p/>
<p>A <tt>null</tt> <tt>value</tt> has the same effect as if <tt>remove</tt> was called for the given
<tt>key</tt>, i.e.:
<p/>
<pre>
if ( value is null ) {
remove( key );
}</pre>
@param key The key with which to identify the <code>value</code>.
@param value The value to bind to the thread.
@throws IllegalArgumentException if the <code>key</code> argument is <tt>null</tt>.
Binds <tt>value</tt> for the given <code>key</code> to the current thread. <p/> <p>A <tt>null</tt> <tt>value</tt> has the same effect as if <tt>remove</tt> was called for the given <tt>key</tt>, i.e.: <p/> <pre> if ( value is null ) { remove( key ); }</pre>
@param key The key with which to identify the <code>value</code>. @param value The value to bind to the thread. @throws IllegalArgumentException if the <code>key</code> argument is <tt>null</tt>.