Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ErrorHandlerMap empty if only define annotation class #27

Open
cedillomarcos opened this issue Jul 26, 2019 · 0 comments
Open

ErrorHandlerMap empty if only define annotation class #27

cedillomarcos opened this issue Jul 26, 2019 · 0 comments

Comments

@cedillomarcos
Copy link

If define error handler only a class annotation, the member value errorCodes return a empy collection of error codes and the builder only build the default generic error

public class AnnotationErrorDecoder implements ErrorDecoder {
private final Map<String, MethodErrorHandler> errorHandlerMap;

errorhandlermap have a empty map of errros

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant