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

org.jboss.resteasy.reactive.server.UnwrapException Maven / Gradle / Ivy

There is a newer version: 3.17.5
Show newest version
package org.jboss.resteasy.reactive.server;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Used to configure that an exception (or exceptions) should be unwrapped during exception handling.
 * 

* Unwrapping means that when an {@link Exception} of the configured 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. */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface UnwrapException { /** * If this is not set, the value is assumed to be the exception class where the annotation is placed */ Class[] value() default {}; }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy