1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-03-28 14:56:28 +01:00

Save additional exception info (#604)

When a position exception was raised the info was
lost of the underlying exception.

See #603
This commit is contained in:
Jonah Graham 2023-10-26 11:13:48 -04:00 committed by GitHub
parent d09d3f8e97
commit 27bee70634
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -344,7 +344,7 @@ public class DisassemblyViewer extends SourceViewer implements IPropertyChangeLi
}
}
} catch (BadLocationException ble) {
throw new IllegalArgumentException(ble.getLocalizedMessage());
throw new IllegalArgumentException(ble.getLocalizedMessage(), ble);
}
}