You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Yury Gerzhedovich (Jira)" <ji...@apache.org> on 2023/09/08 13:40:00 UTC
[jira] [Updated] (IGNITE-20348) Improve error handling
[ https://issues.apache.org/jira/browse/IGNITE-20348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yury Gerzhedovich updated IGNITE-20348:
---------------------------------------
Epic Link: IGNITE-14611
> Improve error handling
> ----------------------
>
> Key: IGNITE-20348
> URL: https://issues.apache.org/jira/browse/IGNITE-20348
> Project: Ignite
> Issue Type: Improvement
> Reporter: Yury Gerzhedovich
> Priority: Major
> Labels: ignite-3
>
> As of now we have at least two big problems with pubic exceptions:
> 1) Part of public exceptions have no human-readable messages
> 2) Part of public exceptions placed at internal packages.
> Let's add additional check to find all such places and prevent appears new ones and fix all such exceptions.
> As proposal - we could add checks/assertions to few places:
> * org.apache.ignite.lang.IgniteExceptionMapperUtil#mapToPublicException
> * org.apache.ignite.internal.sql.engine.util.SqlTestUtils#assertThrowsSqlException
> * org.apache.ignite.internal.testframework.IgniteTestUtils#assertThrowsWithCause
--
This message was sent by Atlassian Jira
(v8.20.10#820010)