Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-947

Java Hot Rod client exceptions should be more user friendly

XMLWordPrintable

    • Low

      Java Hot Rod client exceptions are not friendly:

      WARNING: Error status received from the server: for message id 2
      Exception in thread "main" org.infinispan.client.hotrod.exceptions.HotRodClientException: id [2] code [133]

      What is that suppose to mean to clients? The following is much more friendly:

      WARNING: Error status received from the server: for message put response (opcode=0x02)
      Exception in thread "main" org.infinispan.client.hotrod.exceptions.HotRodClientException: Put response (opcode=0x02) returned server error (status=0x85): ...

      This is related to ISPN-944 which should solve the fact that server error messages are not being read by the client properly.

              rh-ee-galder Galder ZamarreƱo
              rh-ee-galder Galder ZamarreƱo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: