You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by GitBox <gi...@apache.org> on 2020/01/08 08:58:21 UTC

[GitHub] [cxf] flaviodonze opened a new pull request #622: subclasses of declared exception should be thrown

flaviodonze opened a new pull request #622: subclasses of declared exception should be thrown
URL: https://github.com/apache/cxf/pull/622
 
 
   if a service throws "ServerExecption" but ends up throwing a sub-class
   of ServerException e.g. ValidationException, the ResponseExceptionMapper
   resulting Exception is lost.
   
   Additional information, Resteasy also does it this way:
   https://github.com/resteasy/Resteasy/blob/cc424c27f0e9b5ccbc712fd114b7c9abb43e6ba5/resteasy-client-microprofile/src/main/java/org/jboss/resteasy/microprofile/client/ExceptionMapping.java

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [cxf] coheigea commented on issue #622: subclasses of declared exception should be thrown

Posted by GitBox <gi...@apache.org>.
coheigea commented on issue #622: subclasses of declared exception should be thrown
URL: https://github.com/apache/cxf/pull/622#issuecomment-572175679
 
 
   @andymc12 Should this be merged to 3.3.x-fixes as well?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [cxf] andymc12 commented on issue #622: subclasses of declared exception should be thrown

Posted by GitBox <gi...@apache.org>.
andymc12 commented on issue #622: subclasses of declared exception should be thrown
URL: https://github.com/apache/cxf/pull/622#issuecomment-572233156
 
 
   @coheigea yes, I'll back port that now.  Thanks!

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [cxf] andymc12 merged pull request #622: subclasses of declared exception should be thrown

Posted by GitBox <gi...@apache.org>.
andymc12 merged pull request #622: subclasses of declared exception should be thrown
URL: https://github.com/apache/cxf/pull/622
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services