io.quarkus.websockets.next.TextEncodeException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-websockets-next Show documentation
Show all versions of quarkus-websockets-next Show documentation
Implementation of the WebSocket API with enhanced efficiency and usability
package io.quarkus.websockets.next;
import io.smallrye.common.annotation.Experimental;
/**
*
* @see TextMessageCodec
*/
@Experimental("This API is experimental and may change in the future")
public class TextEncodeException extends WebSocketException {
private static final long serialVersionUID = 837621296462089705L;
private final Object encodedObject;
public TextEncodeException(Object encodedObject, String message) {
this(encodedObject, message, null);
}
public TextEncodeException(Object encodedObject, String message, Throwable cause) {
super(message, cause);
this.encodedObject = encodedObject;
}
public Object getEncodedObject() {
return encodedObject;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy