Class MainExceptionMapperFactoryImpl
java.lang.Object
ch.tocco.nice2.rest.core.impl.exception.MainExceptionMapperFactoryImpl
- All Implemented Interfaces:
MainExceptionMapperFactory
@Component
public class MainExceptionMapperFactoryImpl
extends Object
implements MainExceptionMapperFactory
-
Constructor Summary
ConstructorDescriptionMainExceptionMapperFactoryImpl
(OverrideContributionService overrideContributionService, org.slf4j.Logger log) -
Method Summary
Modifier and TypeMethodDescriptionvoid
setExceptionListeners
(List<RestExceptionListener> exceptionListeners) void
setExceptionMappers
(List<ExceptionMapperContribution> exceptionMappers)
-
Constructor Details
-
MainExceptionMapperFactoryImpl
public MainExceptionMapperFactoryImpl(OverrideContributionService overrideContributionService, org.slf4j.Logger log)
-
-
Method Details
-
setExceptionMappers
-
setExceptionListeners
@Autowired(required=false) public void setExceptionListeners(List<RestExceptionListener> exceptionListeners) -
createMainExceptionMapper
- Specified by:
createMainExceptionMapper
in interfaceMainExceptionMapperFactory
-