You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Tupitsyn (Jira)" <ji...@apache.org> on 2022/09/03 05:45:00 UTC
[jira] [Updated] (IGNITE-17595) Add test for required constructors in public exception types
[ https://issues.apache.org/jira/browse/IGNITE-17595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Tupitsyn updated IGNITE-17595:
------------------------------------
Description:
*IgniteException#wrap* throws "IgniteException-derived class does not have required constructor" when a constructor with expected signature "UUID traceId, int code, String message, Throwable cause" is not present.
We should catch those issues early. Write a test to scan all jars/classes and check constructors. See https://www.archunit.org/
was:
*IgniteException#wrap* throws "IgniteException-derived class does not have required constructor" when a constructor with expected signature "UUID traceId, int code, String message, Throwable cause" is not present.
We should catch those issues early. Write a test to scan all jars/classes and check constructors.
> Add test for required constructors in public exception types
> ------------------------------------------------------------
>
> Key: IGNITE-17595
> URL: https://issues.apache.org/jira/browse/IGNITE-17595
> Project: Ignite
> Issue Type: Task
> Reporter: Pavel Tupitsyn
> Assignee: Pavel Tupitsyn
> Priority: Major
> Labels: ignite-3
> Fix For: 3.0.0-alpha6
>
>
> *IgniteException#wrap* throws "IgniteException-derived class does not have required constructor" when a constructor with expected signature "UUID traceId, int code, String message, Throwable cause" is not present.
> We should catch those issues early. Write a test to scan all jars/classes and check constructors. See https://www.archunit.org/
--
This message was sent by Atlassian Jira
(v8.20.10#820010)