You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Olabusayo Kilo (Jira)" <ji...@apache.org> on 2024/03/27 17:36: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 ]
Olabusayo Kilo reassigned DAFFODIL-2433:
----------------------------------------
Assignee: Olabusayo Kilo
> 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: 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)