
org.java_websocket.exceptions.InvalidHandshakeException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Java-WebSocket Show documentation
Show all versions of Java-WebSocket Show documentation
A barebones WebSocket client and server implementation written 100% in Java
package org.java_websocket.exceptions;
import org.java_websocket.framing.CloseFrame;
public class InvalidHandshakeException extends InvalidDataException {
/**
* Serializable
*/
private static final long serialVersionUID = -1426533877490484964L;
public InvalidHandshakeException() {
super( CloseFrame.PROTOCOL_ERROR );
}
public InvalidHandshakeException( String arg0 , Throwable arg1 ) {
super( CloseFrame.PROTOCOL_ERROR, arg0, arg1 );
}
public InvalidHandshakeException( String arg0 ) {
super( CloseFrame.PROTOCOL_ERROR, arg0 );
}
public InvalidHandshakeException( Throwable arg0 ) {
super( CloseFrame.PROTOCOL_ERROR, arg0 );
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy