Commit 6d43430fdf94f636c0623fa2aef79b1b8348bd09

Authored by Cleverson Sacramento
1 parent 9f80adaf
Exists in master

Mudando a severidade do warning

impl/extension/rest/src/main/java/br/gov/frameworkdemoiselle/internal/implementation/IllegalArgumentExceptionMapper.java
... ... @@ -36,7 +36,7 @@
36 36 */
37 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 40 import static javax.servlet.http.HttpServletResponse.SC_BAD_REQUEST;
41 41  
42 42 import java.util.logging.Logger;
... ... @@ -60,7 +60,7 @@ public class IllegalArgumentExceptionMapper implements ExceptionMapper<IllegalAr
60 60 public Response toResponse(IllegalArgumentException exception) {
61 61 int status = SC_BAD_REQUEST;
62 62 String message = getBundle().getString("mapping-violations", status);
63   - getLogger().log(FINE, message, exception);
  63 + getLogger().log(SEVERE, message, exception);
64 64  
65 65 return Response.status(status).build();
66 66 }
... ...