Fix wrong exception mapping.

This commit is contained in:
Paulo Gustavo Veiga 2012-09-29 15:42:41 -03:00
parent 9985384a7f
commit c7f7b20260

View File

@ -69,7 +69,7 @@ public class BaseController {
}
@ExceptionHandler(Exception.class)
@ExceptionHandler(ImportUnexpectedException.class)
@ResponseStatus(HttpStatus.INTERNAL_SERVER_ERROR)
@ResponseBody
public String handleImportErrors(@NotNull ImportUnexpectedException ex, @NotNull HttpServletRequest request) {