Yury Gerzhedovich created IGNITE-20348:
------------------------------------------
Summary: Improve error handling
Key: IGNITE-20348
URL: https://issues.apache.org/jira/browse/IGNITE-20348
Project: Ignite
Issue Type: Improvement
Reporter: Yury Gerzhedovich
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)