--- /dev/null
+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);
+ }
+}
--- /dev/null
+package net.mograsim.machine.standard.memory;
+
+import net.mograsim.machine.MachineException;
+
+public class MemoryException extends MachineException
+{
+
+ /**
+ *
+ */
+ private static final long serialVersionUID = 6416796315595721079L;
+
+ public MemoryException()
+ {
+ super();
+ }
+
+ public MemoryException(String message)
+ {
+ super(message);
+ }
+
+ public MemoryException(Throwable cause)
+ {
+ super(cause);
+ }
+}