org.frameworkset.web.socket.sockjs.SockJsException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bboss-websocket Show documentation
Show all versions of bboss-websocket Show documentation
bboss is a j2ee framework include aop/ioc,mvc,persistent,taglib,rpc,event ,bean-xml serializable and so on.http://www.bbossgroups.com
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