0 Replies Latest reply on Jan 9, 2013 6:39 AM by Rahul Razdan

    @handlesExceptions shows exception in eclipse console

    Rahul Razdan Newbie

      hi ,


      I'm using @handlesException to catch AuthorizationException its working fine . but the exceptions is visible in console ( which i don't like )


      my class is like this:-



      public class ExceptionHandler {

          @Inject Messages messages;


          public void handleAuthorizationException(@Handles CaughtException<AuthorizationException> evt) {

              messages.error("You do not have the necessary permissions", "");





      any suggestions are welcome.

      for checking you can consult security-authorization example from seam-3 .