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)