You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Amichai Rothman (Jira)" <ji...@apache.org> on 2021/05/03 10:54:00 UTC
[jira] [Created] (DOSGI-285) ServiceException missing REMOTE type
Amichai Rothman created DOSGI-285:
-------------------------------------
Summary: ServiceException missing REMOTE type
Key: DOSGI-285
URL: https://issues.apache.org/jira/browse/DOSGI-285
Project: CXF Distributed OSGi
Issue Type: Bug
Components: common
Affects Versions: 2.3.0
Reporter: Amichai Rothman
In ExceptionMapper.mapException() an exception is created via:
{{return new ServiceException(REMOTE_EXCEPTION_TYPE, ex);}}
With
{{private static final String REMOTE_EXCEPTION_TYPE = "REMOTE";}}
so the exception is thrown with the string "REMOTE" but type ServiceException.UNSPECIFIED.
Wouldn't it make more sense to create it with the ServiceException.REMOTE type?
i.e.
{{return new ServiceException(REMOTE_EXCEPTION_TYPE, ServiceException.REMOTE, ex);}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)