org.frameworkset.web.socket.sockjs.SockJsMessageDeliveryException 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 java.util.List;
public class SockJsMessageDeliveryException extends SockJsException {
private final List undeliveredMessages;
public SockJsMessageDeliveryException(String sessionId, List undeliveredMessages, Throwable cause) {
super("Failed to deliver message(s) " + undeliveredMessages + " for session " + sessionId, sessionId, cause);
this.undeliveredMessages = undeliveredMessages;
}
public SockJsMessageDeliveryException(String sessionId, List undeliveredMessages, String message) {
super("Failed to deliver message(s) " + undeliveredMessages + " for session "
+ sessionId + ": " + message, sessionId, null);
this.undeliveredMessages = undeliveredMessages;
}
public List getUndeliveredMessages() {
return this.undeliveredMessages;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy