[ https://issues.apache.org/jira/browse/DAFFODIL-2100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Beckerle resolved DAFFODIL-2100. ---------------------------------------- Resolution: Fixed Assignee: Dave Thompson (was: Brandon Sloane) fixed in 135e74cffaa3b9146b539ef8cdde056cc53ab94f > Error handling some parseErrors > ------------------------------- > > Key: DAFFODIL-2100 > URL: https://issues.apache.org/jira/browse/DAFFODIL-2100 > Project: Daffodil > Issue Type: Bug > Components: Back End > Reporter: Brandon Sloane > Assignee: Dave Thompson > Priority: Major > > ProcessingError.toParseError erronausly passes itself as the maybeCause. > Compare its definition with that to toUnparseError: > > {{def toParseError = new ParseError(schemaContext, dataContext, Maybe(this), > maybeFormatString, args: _*)}} > def toUnparseError = new UnparseError(schemaContext, dataContext, maybeCause, > maybeFormatString, args: _*) > > This is particuarly problamatic because ParseError requires one of the > maybeFormatString and maybeCause may be defined. If maybeFormatString is > defined, then they both would be within ParseError, so no useful error will > be reported. -- This message was sent by Atlassian JIRA (v7.6.3#76005)