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

io.quarkus.resteasy.reactive.server.spi.UnwrappedExceptionBuildItem Maven / Gradle / Ivy

There is a newer version: 3.15.1
Show newest version
package io.quarkus.resteasy.reactive.server.spi;

import io.quarkus.builder.item.MultiBuildItem;

/**
 * When an Exception of this type is thrown and no {@code jakarta.ws.rs.ext.ExceptionMapper} exists,
 * then RESTEasy Reactive will attempt to locate an {@code ExceptionMapper} for the cause of the Exception.
 */
public final class UnwrappedExceptionBuildItem extends MultiBuildItem {

    private final Class throwableClass;

    public UnwrappedExceptionBuildItem(Class throwableClass) {
        this.throwableClass = throwableClass;
    }

    public Class getThrowableClass() {
        return throwableClass;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy