[
https://issues.apache.org/jira/browse/IGNITE-22748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Roman Puchkovskiy updated IGNITE-22748:
---------------------------------------
Description:
There are two criteria that can be used to decide whether an exception is
public or not:
# If it's a subclass of IgniteException/IgniteCheckedException, it's public
# If it's defined in a public package (that is, not in
org.apache.ignite.internal or its subpackage), it's public
An exception must either conform to both conditions or not conform to any of
them. But we have exceptions that are descendands of IgniteException, but they
reside in internal packages. We should make these exceptions either fully
public, or fully private.
> Subclasses of public exception roots must only reside in public packages
> ------------------------------------------------------------------------
>
> Key: IGNITE-22748
> URL: https://issues.apache.org/jira/browse/IGNITE-22748
> Project: Ignite
> Issue Type: Improvement
> Reporter: Roman Puchkovskiy
> Priority: Major
> Labels: ignite-3
>
> There are two criteria that can be used to decide whether an exception is
> public or not:
> # If it's a subclass of IgniteException/IgniteCheckedException, it's public
> # If it's defined in a public package (that is, not in
> org.apache.ignite.internal or its subpackage), it's public
> An exception must either conform to both conditions or not conform to any of
> them. But we have exceptions that are descendands of IgniteException, but
> they reside in internal packages. We should make these exceptions either
> fully public, or fully private.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)