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

org.frameworkset.web.socket.sockjs.SockJsException Maven / Gradle / Ivy

package org.frameworkset.web.socket.sockjs;

import org.frameworkset.util.beans.NestedRuntimeException;

public class SockJsException  extends NestedRuntimeException {

	private final String sessionId;


	/**
	 * Constructor for SockJsException.
	 * @param message the exception message
	 * @param cause the root cause
	 */
	public SockJsException(String message, Throwable cause) {
		this(message, null, cause);
	}

	/**
	 * Constructor for SockJsException.
	 * @param message the exception message
	 * @param sessionId the SockJS session id
	 * @param cause the root cause
	 */
	public SockJsException(String message, String sessionId, Throwable cause) {
		super(message, cause);
		this.sessionId = sessionId;
	}


	/**
	 * Return the SockJS session id.
	 */
	public String getSockJsSessionId() {
		return this.sessionId;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy