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 2021/01/21 20:05:00 UTC

[jira] [Updated] (DAFFODIL-1625) SAPI and JAPI Diagnostic getSomeCause returns Throwable - should be a Daffodil exception.

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

Mike Beckerle updated DAFFODIL-1625:
------------------------------------
    Labels: beginner  (was: )

> SAPI and JAPI Diagnostic getSomeCause returns Throwable - should be a Daffodil exception.
> -----------------------------------------------------------------------------------------
>
>                 Key: DAFFODIL-1625
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-1625
>             Project: Daffodil
>          Issue Type: Improvement
>          Components: API, Clean Ups
>    Affects Versions: 2.0.0
>            Reporter: Mike Beckerle
>            Priority: Major
>              Labels: beginner
>
> Developer at BBN was integrating Daffodil via JAPI, was surprised that the ParseResult getDiagnostics() method returns a list of Diagnostic, and those have getSomeCause() which returns a Throwable. 
> They expected this to be an encpasulating Daffodil-specific exception wrapper around whatever the raw throwable is.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)