e><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</a></code> - if there is already a MessageHandler registered for the same native
                               websocket message type as this handler.</dd>
</dl>
</li>
</ul>
<a name="addMessageHandler-java.lang.Class-javax.websocket.MessageHandler.Whole-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addMessageHandler</