Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-61369

JSON WEB Service Invocation exception should allow developer to set http response status

    Details

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              igor.beslic Igor Beslic
              Reporter:
              igor.beslic Igor Beslic
              Participants of an Issue:
              Recent user:
              Esther Sanz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 39 weeks, 5 days ago

                Packages

                Version Package
                6.2.X EE