com.oath.micro.server.general.exception.mapper.ExceptionMapperPlugin Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of micro-general-exception-mapper Show documentation
Show all versions of micro-general-exception-mapper Show documentation
Opinionated rest microservices
package com.oath.micro.server.general.exception.mapper;
import java.util.Set;
import com.oath.micro.server.Plugin;
import cyclops.reactive.collections.mutable.SetX;
/**
*
* Collections of Spring configuration classes (Classes annotated with @Configuration)
* that configure various useful pieces of functionality - such as property file loading,
* datasources, scheduling etc
*
* @author johnmcclean
*
*/
public class ExceptionMapperPlugin implements Plugin{
@Override
public Set jaxRsPackages() {
return SetX.of("com.oath.micro.server.general.exception.mapper");
}
@Override
public Set springClasses() {
return SetX.of(MapOfExceptionsToErrorCodes.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy