-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.1.X EE, 6.2.X EE, 7.0.0 M7
-
Fix Version/s: 6.2.X EE
-
Component/s: Dev Tools, Dev Tools > Plugins SDK
-
Labels:None
-
Git Pull Request:
JSON WEB Service Client shared plugin defines JSONWEBServiceInvocationException which speaks about exceptions related to business rules which were broken during execution of remote service.
In pure REST systems http response status is usually used to identify nature of problem:
400 - bad request - can not resolve service
403 - forbidden - no permissions to execute call
404 - not found - requested entity doesnt exist (similar to NoSuchModelException)
NOTE: plugin is used by Liferay Connected services