You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Min Phyo Aung (Jira)" <ji...@apache.org> on 2021/07/27 16:50: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 ]

Min Phyo Aung reassigned DAFFODIL-2433:
---------------------------------------

    Assignee: 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
>            Assignee: Min Phyo Aung
>            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.3.4#803005)