Fixed bug with Exception being thrown with wrong cause
authorFabian Stemmler <stemmler@in.tum.de>
Thu, 10 Oct 2019 11:56:04 +0000 (13:56 +0200)
committerFabian Stemmler <stemmler@in.tum.de>
Fri, 11 Oct 2019 13:29:41 +0000 (15:29 +0200)
plugins/net.mograsim.machine/src/net/mograsim/machine/mi/MicroInstructionMemoryParser.java

index b351ca7..a141a86 100644 (file)
@@ -99,7 +99,7 @@ public class MicroInstructionMemoryParser
                }
                catch (Exception e)
                {
-                       throw new MicroInstructionMemoryParseException(e.getCause());
+                       throw new MicroInstructionMemoryParseException(e);
                }
        }