eclipse / xtext-eclipse

xtext-eclipse
Eclipse Public License 2.0
49 stars 73 forks source link

waitForBuild throws with reference to original exception #1808

Closed LorenzoBettini closed 2 years ago

LorenzoBettini commented 2 years ago

Currently, waitForBuild catches a CoreException and throws an OperationCanceledException with just the message of the original CoreException. Indeed, OperationCanceledException does not have a constructor for passing also an exception. Without the original exception, though, it is hard to understand what went wrong during the test, since we lost the original exception's stacktracke

Signed-off-by: Lorenzo Bettini lorenzo.bettini@gmail.com