diff --git a/README.md b/README.md index bfc1399..c34dbdc 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,10 @@ ## How to use spring-restful-exception-handler Under PROJECT/resources create a file called *error.template*. Inside this file, place the formatted error template you want to return when a custom exception is thrown. If no custom template is given, the following default template will be used: -`` -`` -`%s` -`` +``` + +%s +``` Annotate the custom exception class with `@Exception(*httpStatus*, *contentType*)`. The defaults are