2 Replies Latest reply on Sep 26, 2013 5:34 AM by Ohnishi Koutaro

    About handling validation failure

    Ohnishi Koutaro Newbie



      Can I distinguish validation exceptions from the other exceptions?

      For example, when using RESTEasy binding, I would like to return HTTP status code 400 for an invalid request and 500 for an unexpected error.