You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@daffodil.apache.org by "Brandon Sloane (JIRA)" <ji...@apache.org> on 2019/03/18 15:18:00 UTC
[jira] [Created] (DAFFODIL-2099) Original errors being surpressed
in doParse loop
Brandon Sloane created DAFFODIL-2099:
----------------------------------------
Summary: Original errors being surpressed in doParse loop
Key: DAFFODIL-2099
URL: https://issues.apache.org/jira/browse/DAFFODIL-2099
Project: Daffodil
Issue Type: Bug
Components: Back End
Reporter: Brandon Sloane
The Runtime.scala doParse function looks roughly like:
{{try{}}
try{
//parse logic
} finally{
state.verifyFinalState(wasThrow)
}
} catch{
//actually handle exceptions
}
verifyFinalState disables some checks when there was an excpetion, but some get run regardless. In the case where verifyFinalState fails, it will throw a new exception, thereby surpressing the original excpetion; even though it is likely that the original exception was the actual cause of the problem.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)