From 8cf76fc41d126c7d347d080e4a941d5527d7aba5 Mon Sep 17 00:00:00 2001 From: Fabian Stemmler Date: Thu, 10 Oct 2019 13:56:04 +0200 Subject: [PATCH] Fixed bug with Exception being thrown with wrong cause --- .../net/mograsim/machine/mi/MicroInstructionMemoryParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- 2.17.1