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 class
ExceptionMapping.ExceptionTypeAndMessageContainsPredicate
static class
ExceptionMapping.ExceptionTypePredicate
-
Constructor Summary
Constructors Constructor Description ExceptionMapping()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addBlockingProblem(Class<? extends Throwable> throwable)
void
addBlockingProblem(Predicate<Throwable> predicate)
<T extends Throwable>
voidaddExceptionMapper(String exceptionClass, ResourceExceptionMapper<T> mapper)
void
addNonBlockingProblem(Class<? extends Throwable> throwable)
void
addNonBlockingProblem(Predicate<Throwable> predicate)
void
addUnwrappedException(String className)
List<Predicate<Throwable>>
getBlockingProblemPredicates()
Map<String,ResourceExceptionMapper<? extends Throwable>>
getMappers()
List<Predicate<Throwable>>
getNonBlockingProblemPredicate()
Set<String>
getUnwrappedExceptions()
void
initializeDefaultFactories(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()
-
-