Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-17312

Thin 3.0: Unified exception handling

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-beta1
    • thin client
    • Docs Required, Release Notes Required

    Description

      Java thin client uses the same public API interfaces as the server side.
      Those user-facing APIs should behave in the same way on the server and client sides, including exceptions that may be thrown.

      1. Remove IgniteClientException.
      2. Keep IgniteClientConnectionException and other client-specific types. Inherit them from IgniteException.
      3. When sending exception details from server to client, include the following:
        1. Code (group + error, see IgniteException.code)
        2. TraceId
        3. Message
        4. Fully-qualified class name
        5. OPTIONALLY: stack trace (Sensitive info. Send only when enabled in server-side ClientConnectorConfig. Disabled by default.)

      Attachments

        Issue Links

          Activity

            People

              ptupitsyn Pavel Tupitsyn
              ptupitsyn Pavel Tupitsyn
              Igor Sapego Igor Sapego
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 40m
                  1h 40m