@@ -139,7 +139,6 @@ public WebSocketImpl( WebSocketListener listener , Draft draft , Socket sock ) {
139139 *
140140 * @throws IOException
141141 * When socket related I/O errors occur.
142- * @throws InterruptedException
143142 */
144143 public void decode ( ByteBuffer socketBuffer ) throws IOException {
145144 if ( !socketBuffer .hasRemaining () || connectionClosed )
@@ -455,7 +454,6 @@ public void close( InvalidDataException e ) {
455454 * Send Text data to the other end.
456455 *
457456 * @throws IllegalArgumentException
458- * @throws InterruptedException
459457 * @throws NotYetConnectedException
460458 */
461459 @ Override
@@ -469,18 +467,17 @@ public void send( String text ) throws NotYetConnectedException {
469467 * Send Binary data (plain bytes) to the other end.
470468 *
471469 * @throws IllegalArgumentException
472- * @throws InterruptedException
473470 * @throws NotYetConnectedException
474471 */
475472 @ Override
476- public void send ( ByteBuffer bytes ) throws IllegalArgumentException , NotYetConnectedException , InterruptedException {
473+ public void send ( ByteBuffer bytes ) throws IllegalArgumentException , NotYetConnectedException {
477474 if ( bytes == null )
478475 throw new IllegalArgumentException ( "Cannot send 'null' data to a WebSocketImpl." );
479476 send ( draft .createFrames ( bytes , role == Role .CLIENT ) );
480477 }
481478
482479 @ Override
483- public void send ( byte [] bytes ) throws IllegalArgumentException , NotYetConnectedException , InterruptedException {
480+ public void send ( byte [] bytes ) throws IllegalArgumentException , NotYetConnectedException {
484481 send ( ByteBuffer .wrap ( bytes ) );
485482 }
486483
@@ -523,7 +520,7 @@ private HandshakeState isFlashEdgeCase( ByteBuffer request ) throws IncompleteHa
523520 }
524521
525522 @ Override
526- public void startHandshake ( ClientHandshakeBuilder handshakedata ) throws InvalidHandshakeException , InterruptedException {
523+ public void startHandshake ( ClientHandshakeBuilder handshakedata ) throws InvalidHandshakeException {
527524 if ( handshakeComplete )
528525 throw new IllegalStateException ( "Handshake has already been sent." );
529526
0 commit comments