Commit 6d43430fdf94f636c0623fa2aef79b1b8348bd09
1 parent
9f80adaf
Exists in
master
Mudando a severidade do warning
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
impl/extension/rest/src/main/java/br/gov/frameworkdemoiselle/internal/implementation/IllegalArgumentExceptionMapper.java
| @@ -36,7 +36,7 @@ | @@ -36,7 +36,7 @@ | ||
| 36 | */ | 36 | */ |
| 37 | package br.gov.frameworkdemoiselle.internal.implementation; | 37 | package br.gov.frameworkdemoiselle.internal.implementation; |
| 38 | 38 | ||
| 39 | -import static java.util.logging.Level.FINE; | 39 | +import static java.util.logging.Level.SEVERE; |
| 40 | import static javax.servlet.http.HttpServletResponse.SC_BAD_REQUEST; | 40 | import static javax.servlet.http.HttpServletResponse.SC_BAD_REQUEST; |
| 41 | 41 | ||
| 42 | import java.util.logging.Logger; | 42 | import java.util.logging.Logger; |
| @@ -60,7 +60,7 @@ public class IllegalArgumentExceptionMapper implements ExceptionMapper<IllegalAr | @@ -60,7 +60,7 @@ public class IllegalArgumentExceptionMapper implements ExceptionMapper<IllegalAr | ||
| 60 | public Response toResponse(IllegalArgumentException exception) { | 60 | public Response toResponse(IllegalArgumentException exception) { |
| 61 | int status = SC_BAD_REQUEST; | 61 | int status = SC_BAD_REQUEST; |
| 62 | String message = getBundle().getString("mapping-violations", status); | 62 | String message = getBundle().getString("mapping-violations", status); |
| 63 | - getLogger().log(FINE, message, exception); | 63 | + getLogger().log(SEVERE, message, exception); |
| 64 | 64 | ||
| 65 | return Response.status(status).build(); | 65 | return Response.status(status).build(); |
| 66 | } | 66 | } |