From: Fabian Stemmler Date: Thu, 10 Oct 2019 11:56:04 +0000 (+0200) Subject: Fixed bug with Exception being thrown with wrong cause X-Git-Url: https://mograsim.net/gitweb/?a=commitdiff_plain;h=8cf76fc41d126c7d347d080e4a941d5527d7aba5;p=Mograsim.git Fixed bug with Exception being thrown with wrong cause --- diff --git a/plugins/net.mograsim.machine/src/net/mograsim/machine/mi/MicroInstructionMemoryParser.java b/plugins/net.mograsim.machine/src/net/mograsim/machine/mi/MicroInstructionMemoryParser.java index b351ca7b..a141a86a 100644 --- a/plugins/net.mograsim.machine/src/net/mograsim/machine/mi/MicroInstructionMemoryParser.java +++ b/plugins/net.mograsim.machine/src/net/mograsim/machine/mi/MicroInstructionMemoryParser.java @@ -99,7 +99,7 @@ public class MicroInstructionMemoryParser } catch (Exception e) { - throw new MicroInstructionMemoryParseException(e.getCause()); + throw new MicroInstructionMemoryParseException(e); } }