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

io.smallrye.reactive.messaging.providers.helpers.NoStackTraceException Maven / Gradle / Ivy

package io.smallrye.reactive.messaging.providers.helpers;

/**
 * An exception that does not capture the stack trace.
 * Useful to nack messages without having to have to capture the stack trace.
 */
public class NoStackTraceException extends Exception {

    public NoStackTraceException(String msg) {
        super(msg);
    }

    @Override
    public Throwable fillInStackTrace() {
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy