Update README.md

This commit is contained in:
raychatter
2012-12-05 16:21:04 -08:00
parent cf7cfeedc4
commit 943b3f722e

View File

@@ -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!