All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pusher.java_websocket.exceptions.InvalidDataException Maven / Gradle / Ivy

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