Class UnwrappedExceptionBuildItem
java.lang.Object
io.quarkus.builder.item.BuildItem
io.quarkus.builder.item.MultiBuildItem
io.quarkus.resteasy.reactive.server.spi.UnwrappedExceptionBuildItem
public final class UnwrappedExceptionBuildItem
extends io.quarkus.builder.item.MultiBuildItem
When an
Exception of this type is thrown and no jakarta.ws.rs.ext.ExceptionMapper exists,
then RESTEasy Reactive will attempt to locate an ExceptionMapper for the cause of the Exception.
The unwrapping behavior is controlled by the ExceptionUnwrapStrategy.
-
Constructor Summary
ConstructorsConstructorDescriptionUnwrappedExceptionBuildItem(Class<? extends Throwable> throwableClassName) UnwrappedExceptionBuildItem(Class<? extends Throwable> throwableClassName, org.jboss.resteasy.reactive.server.ExceptionUnwrapStrategy strategy) UnwrappedExceptionBuildItem(String throwableClassName) UnwrappedExceptionBuildItem(String throwableClassName, org.jboss.resteasy.reactive.server.ExceptionUnwrapStrategy strategy) -
Method Summary
Modifier and TypeMethodDescriptionorg.jboss.resteasy.reactive.server.ExceptionUnwrapStrategyDeprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
UnwrappedExceptionBuildItem
-
UnwrappedExceptionBuildItem
public UnwrappedExceptionBuildItem(String throwableClassName, org.jboss.resteasy.reactive.server.ExceptionUnwrapStrategy strategy) -
UnwrappedExceptionBuildItem
-
UnwrappedExceptionBuildItem
-
-
Method Details
-
getThrowableClass
Deprecated, for removal: This API element is subject to removal in a future version. -
getThrowableClassName
-
getStrategy
public org.jboss.resteasy.reactive.server.ExceptionUnwrapStrategy getStrategy()
-