Class RuntimeExceptionMapper

java.lang.Object
org.jboss.resteasy.reactive.server.core.RuntimeExceptionMapper

public class RuntimeExceptionMapper extends Object
  • Constructor Details

  • Method Details

    • mapException

      public void mapException(Throwable throwable, ResteasyReactiveRequestContext context)
    • addExceptionMapper

      public <T extends Throwable> void addExceptionMapper(Class<T> exceptionClass, org.jboss.resteasy.reactive.common.model.ResourceExceptionMapper<T> mapper)
    • getExceptionMapper

      public <T extends Throwable> Map.Entry<Throwable,jakarta.ws.rs.ext.ExceptionMapper<? extends Throwable>> getExceptionMapper(Class<T> clazz, ResteasyReactiveRequestContext context, T throwable)
      Return the proper Exception that handles or null if none is found. First checks if the Resource class that contained the Resource method contained class-level exception mappers. is optional and is used to when no mapper has been found for the original exception type, but the application has been configured to unwrap certain exceptions.
    • getMappers

      public static Map<Class<? extends Throwable>,org.jboss.resteasy.reactive.common.model.ResourceExceptionMapper<? extends Throwable>> getMappers()