diff options
author | Ralph Steiner | 2019-07-25 08:26:45 +0000 |
---|---|---|
committer | Ralph Steiner | 2019-07-31 10:25:50 +0000 |
commit | 69225e0978c9b015b0fa6d344ac13834d65d8246 (patch) | |
tree | bff9cc354d4809e712d78483c259f504cff90049 /org.eclipse.scout.rt.rest.jersey.test | |
parent | 7e120be57a71452f8eeda30db5abea0dd380c758 (diff) | |
download | org.eclipse.scout.rt-69225e0978c9b015b0fa6d344ac13834d65d8246.tar.gz org.eclipse.scout.rt-69225e0978c9b015b0fa6d344ac13834d65d8246.tar.xz org.eclipse.scout.rt-69225e0978c9b015b0fa6d344ac13834d65d8246.zip |
Add AccessForbiddenException and ResourceNotFoundException
New dedicated VetoException classes to represent HTTP status codes 403
and 404.
- Add new ExceptionMapper for new exceptions
In order to not change current behavior:
- VetoExceptionMapper still uses HTTP status 403 instead of 400.
- ErrorDoRestClientExceptionTransformer transforms 403 to VetoException
Change-Id: I52b39dea03af3026d860d5721c33ca2a0dca8405
Reviewed-on: https://git.eclipse.org/r/146603
Tested-by: CI Bot
Reviewed-by: Ralph Steiner <rst@bsiag.com>
Diffstat (limited to 'org.eclipse.scout.rt.rest.jersey.test')
0 files changed, 0 insertions, 0 deletions