Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
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.
- Remove IgniteClientException.
- Keep IgniteClientConnectionException and other client-specific types. Inherit them from IgniteException.
- When sending exception details from server to client, include the following:
- Code (group + error, see IgniteException.code)
- TraceId
- Message
- Fully-qualified class name
- OPTIONALLY: stack trace (Sensitive info. Send only when enabled in server-side ClientConnectorConfig. Disabled by default.)
Attachments
Issue Links
- blocks
-
IGNITE-17135 SQL API: Exceptions are different on server and client
- Resolved
-
IGNITE-17314 .NET: Thin 3.0: Unified exception handling
- Resolved
- is related to
-
IGNITE-14931 Define common error scopes and prefix
- Resolved
- links to