jakartaee / rest

Jakarta RESTful Web Services
Other
364 stars 121 forks source link

Exception handling and recovery during validation #506

Open glassfishrobot opened 9 years ago

glassfishrobot commented 9 years ago

The only way to handle exceptions thrown during (declarative) resource validation is via exception mappers. This mechanism may be insufficient in some cases, especially when an application (or framework) can recover from some errors. The problem is that there is a single mapper for say, ConstrainValidationException, for all resource methods in an application, making error recovery difficult.

Affected Versions

[2.0]

glassfishrobot commented 6 years ago
glassfishrobot commented 9 years ago

@glassfishrobot Commented Reported by @spericas

glassfishrobot commented 7 years ago

@glassfishrobot Commented This issue was imported from java.net JIRA JAX_RS_SPEC-501