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
ConstructorDescriptionExceptionMapperContribution
(Class<? extends T> exceptionClass, jakarta.ws.rs.ext.ExceptionMapper<T> exceptionMapper, AppModule module) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.ext.ExceptionMapper
void
-
Constructor Details
-
ExceptionMapperContribution
-
-
Method Details
-
getIdentifier
- Specified by:
getIdentifier
in interfaceIdentifiableModuleDependentContribution
-
getExceptionClass
-
getExceptionMapper
public jakarta.ws.rs.ext.ExceptionMapper getExceptionMapper() -
getModule
- Specified by:
getModule
in interfaceModuleDependentContribution
-
setModule
- Specified by:
setModule
in interfaceModuleDependentContribution
-