com.pusher.java_websocket.exceptions.InvalidDataException 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
The Pusher fork of TooTallNate/Java-Websocket
The newest version!
package com.pusher.java_websocket.exceptions;
public class InvalidDataException extends Exception {
/**
* Serializable
*/
private static final long serialVersionUID = 3731842424390998726L;
private int closecode;
public InvalidDataException( int closecode ) {
this.closecode = closecode;
}
public InvalidDataException( int closecode , String s ) {
super( s );
this.closecode = closecode;
}
public InvalidDataException( int closecode , Throwable t ) {
super( t );
this.closecode = closecode;
}
public InvalidDataException( int closecode , String s , Throwable t ) {
super( s, t );
this.closecode = closecode;
}
public int getCloseCode() {
return closecode;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy