gdesrosiers1805 opened a new pull request, #1668:
URL: https://github.com/apache/daffodil/pull/1668

   TDMLException previously embedded cause message text in the outer exception 
message while also passing the same cause into the Java Exception cause chain. 
This resulted in duplicate output, where the same error appeared both in the 
exception message and again in the "Caused by:" section.
   
   -Simplified TDMLException to support two construction paths only:
    one for explicit message strings, and one for wrapping a Throwable.
    Removed the causes field from the TDMLException trait and use cause
    from TDMLExceptionImpl constructor parameter.
   -Also removed the constructor that accepted multiple causes. Callers
    that previously passed multiple exceptions now aggregate their
    messages into a single newline-delimited message before constructing
    the string-based exception.
   -Additionally updated TDMLRunner to catch XMLDifferenceException
    directly when calling XMLUtils.compareAndReport, since that method
    specifically throws XMLDifferenceException.
   
   DAFFODIL-3078


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to