Added MachineException and MemoryException
[Mograsim.git] / net.mograsim.machine / src / net / mograsim / machine / MachineException.java
diff --git a/net.mograsim.machine/src/net/mograsim/machine/MachineException.java b/net.mograsim.machine/src/net/mograsim/machine/MachineException.java
new file mode 100644 (file)
index 0000000..e41fca7
--- /dev/null
@@ -0,0 +1,25 @@
+package net.mograsim.machine;
+
+public class MachineException extends RuntimeException
+{
+
+       /**
+        * 
+        */
+       private static final long serialVersionUID = 6224307211078376836L;
+
+       public MachineException()
+       {
+               super();
+       }
+       
+       public MachineException(String message)
+       {
+               super(message);
+       }
+       
+       public MachineException(Throwable cause)
+       {
+               super(cause);
+       }
+}