Fixed bug with Exception being thrown with wrong cause
[Mograsim.git] / 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);
                }
        }