Class ExceptionMapperContribution
java.lang.Object
ch.tocco.nice2.rest.core.api.exception.ExceptionMapperContribution
- All Implemented Interfaces:
IdentifiableModuleDependentContribution, ModuleDependentContribution
public class ExceptionMapperContribution
extends Object
implements IdentifiableModuleDependentContribution
-
Constructor Summary
ConstructorsModifierConstructorDescription<T extends Exception>ExceptionMapperContribution(Class<? extends T> exceptionClass, jakarta.ws.rs.ext.ExceptionMapper<T> exceptionMapper, AppModule module) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.ext.ExceptionMappervoid
-
Constructor Details
-
ExceptionMapperContribution
-
-
Method Details
-
getIdentifier
- Specified by:
getIdentifierin interfaceIdentifiableModuleDependentContribution
-
getExceptionClass
-
getExceptionMapper
public jakarta.ws.rs.ext.ExceptionMapper getExceptionMapper() -
getModule
- Specified by:
getModulein interfaceModuleDependentContribution
-
setModule
- Specified by:
setModulein interfaceModuleDependentContribution
-