Update README.md
This commit is contained in:
@@ -11,7 +11,7 @@ The defaults are `httpStatus = HttpStatus.INTERNAL_SERVER_ERROR` and `contentTyp
|
||||
|
||||
The custom message is taken from the custom annotation class itself, so any parameters you'd like to insert need to be handled there.
|
||||
|
||||
Make sure to add `com.raychatter.common.annotation.AnnotationHandler` as a bean in your XML.
|
||||
Make sure to add `<bean id="exceptionResolver" class="com.raychatter.common.annotation.AnnotationHandler" />` to your XML.
|
||||
|
||||
And that's it!
|
||||
|
||||
|
||||
Reference in New Issue
Block a user