Hi Erik,
I think you hit the same problem as HSTTWO-2992:
-
https://issues.onehippo.com/browse/HSTTWO-2992
The current JaxrsRestServiceValve seems to ignore the response code
wrapped in WebApplicationException.
Regards,
Woonsan
> * I created and annotated the exceptionMapper<MyException> and make it
> return a 400, or whatever.
> * I added the @provider annotated exception mapper to
> customJaxrsRestEntityProviders in the spring context.
>
> But I keep on getting the default 500 internal server exception HTML
> page, instead of my provider to be executed.
>
> Does anyone have any idea of what step is missing??
>
>
> Thanks in advance and with best Regards,
> Erik Alphenaar
>
> --
> Hippo Community Group: The place for all discussions and announcements
> about Hippo CMS (and HST, repository etc. etc.)
>
> To post to this group, send email to
hippo-c...@googlegroups.com
> RSS:
>
https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
> ---
> You received this message because you are subscribed to the Google
> Groups "Hippo Community" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
hippo-communi...@googlegroups.com
> <mailto:
hippo-communi...@googlegroups.com>.
> Visit this group at
http://groups.google.com/group/hippo-community.
> For more options, visit
https://groups.google.com/d/optout.
--
w....@onehippo.com www.onehippo.com
Boston - 101 Main Street, Cambridge, MA 02142
Amsterdam - Oosteinde 11, 1017 WT Amsterdam
US
+1 877 414 4776 (toll free)
Europe
+31(0)20 522 4466