Replies: 1 comment 3 replies
-
What version of RESTEasy are you using? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I noticed that when using automatic type conversion for parameters (with a static method
valueOf(String)
or a constructor which takes aString
as parameter), all exceptions are wrapped in anExceptionAdapter
(even runtime exceptions), this makes it difficult for those errors to be handled in anExceptionMapper
as they will be wrapped in anInvocationTargetException
which will itself be wrapped in anExceptionAdapter
... Was there a good reason to wrap everything inside anExceptionAdapter
and not unwrappingInvocationTargetException
inTypeConverter
?Beta Was this translation helpful? Give feedback.
All reactions