You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@daffodil.apache.org by "Michael Beckerle (JIRA)" <ji...@apache.org> on 2019/07/22 18:07: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 ]

Michael Beckerle updated DAFFODIL-1625:
---------------------------------------
    Component/s: Clean Ups

> 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: Michael Beckerle
>            Priority: Major
>
> 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
(v7.6.14#76016)