You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladislav Pyatkov (Jira)" <ji...@apache.org> on 2021/12/03 14:55:00 UTC
[jira] [Updated] (IGNITE-16051) Implement exception converter for public API
[ https://issues.apache.org/jira/browse/IGNITE-16051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vladislav Pyatkov updated IGNITE-16051:
---------------------------------------
Summary: Implement exception converter for public API (was: Public exception for configuration)
> Implement exception converter for public API
> --------------------------------------------
>
> Key: IGNITE-16051
> URL: https://issues.apache.org/jira/browse/IGNITE-16051
> Project: Ignite
> Issue Type: Improvement
> Reporter: Vladislav Pyatkov
> Priority: Major
> Labels: ignite-3
>
> Configuration can throw a chager's exception {{ConfigurationChangeException}} and a nested validation exception {{ConfigurationValidationException}}, both of them are internal, because public exception should inherit IgniteException and placed into {{org.apache.ignite.lang}} package.
> But the exception propagates to client code through Table manager API (part of the API is public). Need to create a public exception which will be able to throw from public methods and thinking about a process how it will be thrown, in order to store information about a component which generate the exception.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)