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

io.quarkus.websockets.next.TextEncodeException Maven / Gradle / Ivy

There is a newer version: 3.17.2
Show newest version
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