public interface AdviceTrait
Advice traits are simple interfaces that provide a single method with a default
implementation. They are used to provide ExceptionHandler implementations to be used in
Controllers and/or in a ControllerAdvice. Clients can choose which traits they what to
use à la carte.
Advice traits are grouped in packages, based on they use cases. Every package has a composite advice trait that
bundles all traits of that package. Additionally there is one major composite advice trait
that in turn bundles all other composites.
ControllerAdvice,
ExceptionHandler,
Throwable,
Exception,
Problem,
ProblemHandling,
CustomAdviceTrait,
GeneralAdviceTrait,
HttpAdviceTrait,
IOAdviceTrait,
RoutingAdviceTrait,
ValidationAdviceTraitCopyright © 2015 Zalando SE. All rights reserved.