[forge-issues] [JBoss JIRA] (FORGE-1422) REST addon should support generation of exception mappers for validation errors

Vineet Reynolds (JIRA) issues at jboss.org
Tue Jan 7 13:50:33 EST 2014


Vineet Reynolds created FORGE-1422:
--------------------------------------

             Summary: REST addon should support generation of exception mappers for validation errors
                 Key: FORGE-1422
                 URL: https://issues.jboss.org/browse/FORGE-1422
             Project: Forge
          Issue Type: Feature Request
          Components: Builtin Plugins
    Affects Versions: 2.0.0.Beta4
            Reporter: Vineet Reynolds
            Assignee: Vineet Reynolds


Currently a HTTP 500 response is generated for validation errors encountered during processing of POST/PUT requests that create or update JPA entities. The 500 response contains a stacktrace that cannot be parsed by clients to evaluate what failed.

We should generate exception mappers that can map Bean validation errors to help generate parseable responses (for the REST clients).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the forge-issues mailing list