You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Mike Beckerle (Jira)" <ji...@apache.org> on 2024/02/06 19:18:00 UTC

[jira] [Assigned] (DAFFODIL-2433) Pass Exception directly into DaffodilUnhandledSAXException

     [ https://issues.apache.org/jira/browse/DAFFODIL-2433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Beckerle reassigned DAFFODIL-2433:
---------------------------------------

    Assignee:     (was: Min Phyo Aung)

> Pass Exception directly into DaffodilUnhandledSAXException
> ----------------------------------------------------------
>
>                 Key: DAFFODIL-2433
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2433
>             Project: Daffodil
>          Issue Type: Improvement
>          Components: Back End, Clean Ups, SAX
>            Reporter: Olabusayo Kilo
>            Priority: Minor
>              Labels: beginner
>
> Currently the code looks like the below:
> {code:scala}
> new DaffodilUnhandledSAXException(e.getMessage, e)
> {code}
> Since e has all the infomation, we can pass it in directly rather than grabbing the message here. The wiki should have some more information on the ideal pattern to create an Exception/Throwable class.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)