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/06 12:25:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17600748#comment-17600748 ] 

Pavel Tupitsyn commented on IGNITE-17595:
-----------------------------------------

Merged to main: [https://github.com/apache/ignite-3/commit/eec0c0bc9a13f036899c838aa7e7573d3c8edcd7]

> 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
>
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> *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)