Class ExceptionMapping

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

public class ExceptionMapping extends Object
  • Constructor Details

    • ExceptionMapping

      public ExceptionMapping()
  • Method Details

    • addBlockingProblem

      public void addBlockingProblem(Class<? extends Throwable> throwable)
    • addBlockingProblem

      public void addBlockingProblem(Predicate<Throwable> predicate)
    • addNonBlockingProblem

      public void addNonBlockingProblem(Class<? extends Throwable> throwable)
    • addNonBlockingProblem

      public void addNonBlockingProblem(Predicate<Throwable> predicate)
    • addUnwrappedException

      public void addUnwrappedException(String className, ExceptionUnwrapStrategy strategy)
    • getUnwrappedExceptions

      public Map<String,ExceptionUnwrapStrategy> getUnwrappedExceptions()
    • getBlockingProblemPredicates

      public List<Predicate<Throwable>> getBlockingProblemPredicates()
    • getNonBlockingProblemPredicate

      public List<Predicate<Throwable>> getNonBlockingProblemPredicate()
    • addExceptionMapper

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

      public void initializeDefaultFactories(Function<String,org.jboss.resteasy.reactive.spi.BeanFactory<?>> factoryCreator)
    • getMappers

      public Map<String,org.jboss.resteasy.reactive.common.model.ResourceExceptionMapper<? extends Throwable>> getMappers()
    • getRuntimeCheckMappers

      public Map<String,List<org.jboss.resteasy.reactive.common.model.ResourceExceptionMapper<? extends Throwable>>> getRuntimeCheckMappers()
    • getDisabledMappers

      public Set<String> getDisabledMappers()
    • addDisabledMapper

      public void addDisabledMapper(String mapperClassName)
    • effectiveMappers

      public Map<String,org.jboss.resteasy.reactive.common.model.ResourceExceptionMapper<? extends Throwable>> effectiveMappers()
    • replaceDiscardAtRuntimeIfBeanIsUnavailable

      public void replaceDiscardAtRuntimeIfBeanIsUnavailable(Function<String,Supplier<Boolean>> function)