arrow_back history picture_as_pdf This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ~~NOTRANS~~ ~~Title: REST Exception handling~~ Our standard [[jvx:common:util:rest|REST services]] come with standard exception handling. This means that all server-side exceptions will send the http status code 400 (Bad Request) to the client. The implementation already checks some exception types and returns custom http status codes: ^ Exception ^ http status ^ | UnknownObjectException | 404 (Not found) | | SecurityException | 403 (Forbidden) | | InvalidPasswordException | 401 (Unauthorized) | If you want custom status codes, it's possible to throw **RestServiceException**. This Exception class supports custom status codes and error messages.