Class ExceptionMapping
- java.lang.Object
-
- org.jboss.resteasy.reactive.server.core.ExceptionMapping
-
public class ExceptionMapping extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExceptionMapping.ExceptionTypeAndMessageContainsPredicatestatic classExceptionMapping.ExceptionTypePredicate
-
Constructor Summary
Constructors Constructor Description ExceptionMapping()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddBlockingProblem(Class<? extends Throwable> throwable)voidaddBlockingProblem(Predicate<Throwable> predicate)<T extends Throwable>
voidaddExceptionMapper(String exceptionClass, ResourceExceptionMapper<T> mapper)voidaddNonBlockingProblem(Class<? extends Throwable> throwable)voidaddNonBlockingProblem(Predicate<Throwable> predicate)voidaddUnwrappedException(String className)List<Predicate<Throwable>>getBlockingProblemPredicates()Map<String,ResourceExceptionMapper<? extends Throwable>>getMappers()List<Predicate<Throwable>>getNonBlockingProblemPredicate()Set<String>getUnwrappedExceptions()voidinitializeDefaultFactories(Function<String,BeanFactory<?>> factoryCreator)
-
-
-
Method Detail
-
addUnwrappedException
public void addUnwrappedException(String className)
-
addExceptionMapper
public <T extends Throwable> void addExceptionMapper(String exceptionClass, ResourceExceptionMapper<T> mapper)
-
initializeDefaultFactories
public void initializeDefaultFactories(Function<String,BeanFactory<?>> factoryCreator)
-
getMappers
public Map<String,ResourceExceptionMapper<? extends Throwable>> getMappers()
-
-