@ControllerAdvice(basePackageClasses=RepositoryRestExceptionHandler.class) public class RepositoryRestExceptionHandler extends Object
Constructor and Description |
---|
RepositoryRestExceptionHandler(MessageSource messageSource)
Creates a new
RepositoryRestExceptionHandler using the given MessageSource . |
public RepositoryRestExceptionHandler(MessageSource messageSource)
RepositoryRestExceptionHandler
using the given MessageSource
.messageSource
- must not be null.Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.