diff options
Diffstat (limited to 'zpu/sw/simulator/com/zylin/zpu/simulator/exceptions')
13 files changed, 249 insertions, 0 deletions
diff --git a/zpu/sw/simulator/com/zylin/zpu/simulator/exceptions/BadPacketException.java b/zpu/sw/simulator/com/zylin/zpu/simulator/exceptions/BadPacketException.java new file mode 100644 index 0000000..2e66ab4 --- /dev/null +++ b/zpu/sw/simulator/com/zylin/zpu/simulator/exceptions/BadPacketException.java @@ -0,0 +1,22 @@ +/* + * Created on Nov 6, 2004 + * + * To change the template for this generated file go to + * Window - Preferences - Java - Code Generation - Code and Comments + */ +package com.zylin.zpu.simulator.exceptions; + +/** + * @author oyvind + * + * To change the template for this generated type comment go to + * Window - Preferences - Java - Code Generation - Code and Comments + */ +public class BadPacketException extends GDBServerException +{ + + /** + * + */ + private static final long serialVersionUID = 3258131340821214260L; +} diff --git a/zpu/sw/simulator/com/zylin/zpu/simulator/exceptions/CPUException.java b/zpu/sw/simulator/com/zylin/zpu/simulator/exceptions/CPUException.java new file mode 100644 index 0000000..6a3f4fe --- /dev/null +++ b/zpu/sw/simulator/com/zylin/zpu/simulator/exceptions/CPUException.java @@ -0,0 +1,23 @@ +/* + * Created on Oct 23, 2004 + * + * To change the template for this generated file go to + * Window - Preferences - Java - Code Generation - Code and Comments + */ +package com.zylin.zpu.simulator.exceptions; + +/** + * @author oyvind + * + * To change the template for this generated type comment go to + * Window - Preferences - Java - Code Generation - Code and Comments + */ +public class CPUException extends GDBServerException +{ + + /** + * + */ + private static final long serialVersionUID = 1L; + +} diff --git a/zpu/sw/simulator/com/zylin/zpu/simulator/exceptions/DebuggerBreakpointException.java b/zpu/sw/simulator/com/zylin/zpu/simulator/exceptions/DebuggerBreakpointException.java new file mode 100644 index 0000000..2360fa8 --- /dev/null +++ b/zpu/sw/simulator/com/zylin/zpu/simulator/exceptions/DebuggerBreakpointException.java @@ -0,0 +1,10 @@ +package com.zylin.zpu.simulator.exceptions; + +public class DebuggerBreakpointException extends CPUException +{ + + /** + * + */ + private static final long serialVersionUID = 1L; +} diff --git a/zpu/sw/simulator/com/zylin/zpu/simulator/exceptions/EndSessionException.java b/zpu/sw/simulator/com/zylin/zpu/simulator/exceptions/EndSessionException.java new file mode 100644 index 0000000..7dd27e0 --- /dev/null +++ b/zpu/sw/simulator/com/zylin/zpu/simulator/exceptions/EndSessionException.java @@ -0,0 +1,22 @@ +/* + * Created on Nov 16, 2004 + * + * To change the template for this generated file go to + * Window - Preferences - Java - Code Generation - Code and Comments + */ +package com.zylin.zpu.simulator.exceptions; + +/** + * @author oyvind + * + * To change the template for this generated type comment go to + * Window - Preferences - Java - Code Generation - Code and Comments + */ +public class EndSessionException extends Exception +{ + + /** + * + */ + private static final long serialVersionUID = 1L; +} diff --git a/zpu/sw/simulator/com/zylin/zpu/simulator/exceptions/GDBServerException.java b/zpu/sw/simulator/com/zylin/zpu/simulator/exceptions/GDBServerException.java new file mode 100644 index 0000000..8232790 --- /dev/null +++ b/zpu/sw/simulator/com/zylin/zpu/simulator/exceptions/GDBServerException.java @@ -0,0 +1,25 @@ +package com.zylin.zpu.simulator.exceptions; + + +public class GDBServerException extends RuntimeException +{ + /** + * + */ + private static final long serialVersionUID = 1L; + + public GDBServerException(NumberFormatException e) + { + super(e); + } + + public GDBServerException() + { + + } + + public GDBServerException(Exception e) + { + super(e); + } +} diff --git a/zpu/sw/simulator/com/zylin/zpu/simulator/exceptions/HardwareWatchPointException.java b/zpu/sw/simulator/com/zylin/zpu/simulator/exceptions/HardwareWatchPointException.java new file mode 100644 index 0000000..a4ad3b2 --- /dev/null +++ b/zpu/sw/simulator/com/zylin/zpu/simulator/exceptions/HardwareWatchPointException.java @@ -0,0 +1,12 @@ + +package com.zylin.zpu.simulator.exceptions; + +public class HardwareWatchPointException extends CPUException +{ + + /** + * + */ + private static final long serialVersionUID = 1L; + +} diff --git a/zpu/sw/simulator/com/zylin/zpu/simulator/exceptions/IllegalInstructionException.java b/zpu/sw/simulator/com/zylin/zpu/simulator/exceptions/IllegalInstructionException.java new file mode 100644 index 0000000..a8d0802 --- /dev/null +++ b/zpu/sw/simulator/com/zylin/zpu/simulator/exceptions/IllegalInstructionException.java @@ -0,0 +1,23 @@ +/* + * Created on Oct 23, 2004 + * + * To change the template for this generated file go to + * Window - Preferences - Java - Code Generation - Code and Comments + */ +package com.zylin.zpu.simulator.exceptions; + + +/** + * @author oyvind + * + * To change the template for this generated type comment go to + * Window - Preferences - Java - Code Generation - Code and Comments + */ +public class IllegalInstructionException extends CPUException +{ + + /** + * + */ + private static final long serialVersionUID = 1L; +} diff --git a/zpu/sw/simulator/com/zylin/zpu/simulator/exceptions/InterruptException.java b/zpu/sw/simulator/com/zylin/zpu/simulator/exceptions/InterruptException.java new file mode 100644 index 0000000..bd74f04 --- /dev/null +++ b/zpu/sw/simulator/com/zylin/zpu/simulator/exceptions/InterruptException.java @@ -0,0 +1,23 @@ +/* + * Created on 02.jan.2005 + * + * To change the template for this generated file go to + * Window - Preferences - Java - Code Generation - Code and Comments + */ +package com.zylin.zpu.simulator.exceptions; + + +/** + * @author oyvind + * + * To change the template for this generated type comment go to + * Window - Preferences - Java - Code Generation - Code and Comments + */ +public class InterruptException extends CPUException +{ + + /** + * + */ + private static final long serialVersionUID = 1L; +} diff --git a/zpu/sw/simulator/com/zylin/zpu/simulator/exceptions/MemoryAccessException.java b/zpu/sw/simulator/com/zylin/zpu/simulator/exceptions/MemoryAccessException.java new file mode 100644 index 0000000..4c9ebae --- /dev/null +++ b/zpu/sw/simulator/com/zylin/zpu/simulator/exceptions/MemoryAccessException.java @@ -0,0 +1,23 @@ +/* + * Created on Oct 23, 2004 + * + * To change the template for this generated file go to + * Window - Preferences - Java - Code Generation - Code and Comments + */ +package com.zylin.zpu.simulator.exceptions; + + +/** + * @author oyvind + * + * To change the template for this generated type comment go to + * Window - Preferences - Java - Code Generation - Code and Comments + */ +public class MemoryAccessException extends CPUException +{ + + /** + * + */ + private static final long serialVersionUID = 1L; +} diff --git a/zpu/sw/simulator/com/zylin/zpu/simulator/exceptions/NoAckException.java b/zpu/sw/simulator/com/zylin/zpu/simulator/exceptions/NoAckException.java new file mode 100644 index 0000000..377f9de --- /dev/null +++ b/zpu/sw/simulator/com/zylin/zpu/simulator/exceptions/NoAckException.java @@ -0,0 +1,22 @@ +/* + * Created on Nov 6, 2004 + * + * To change the template for this generated file go to + * Window - Preferences - Java - Code Generation - Code and Comments + */ +package com.zylin.zpu.simulator.exceptions; + +/** + * @author oyvind + * + * To change the template for this generated type comment go to + * Window - Preferences - Java - Code Generation - Code and Comments + */ +public class NoAckException extends GDBServerException +{ + + /** + * + */ + private static final long serialVersionUID = 1L; +} diff --git a/zpu/sw/simulator/com/zylin/zpu/simulator/exceptions/TraceException.java b/zpu/sw/simulator/com/zylin/zpu/simulator/exceptions/TraceException.java new file mode 100644 index 0000000..45fda54 --- /dev/null +++ b/zpu/sw/simulator/com/zylin/zpu/simulator/exceptions/TraceException.java @@ -0,0 +1,22 @@ + +package com.zylin.zpu.simulator.exceptions; + + +public class TraceException extends GDBServerException +{ + + /** + * + */ + private static final long serialVersionUID = 1L; + + public TraceException(Exception e) + { + super(e); + } + + public TraceException() + { + } + +} diff --git a/zpu/sw/simulator/com/zylin/zpu/simulator/exceptions/UnknownPacketException.java b/zpu/sw/simulator/com/zylin/zpu/simulator/exceptions/UnknownPacketException.java new file mode 100644 index 0000000..af8a667 --- /dev/null +++ b/zpu/sw/simulator/com/zylin/zpu/simulator/exceptions/UnknownPacketException.java @@ -0,0 +1,10 @@ +package com.zylin.zpu.simulator.exceptions; + +public class UnknownPacketException extends GDBServerException +{ + + /** + * + */ + private static final long serialVersionUID = 1L; +} diff --git a/zpu/sw/simulator/com/zylin/zpu/simulator/exceptions/UnsupportedSyscallException.java b/zpu/sw/simulator/com/zylin/zpu/simulator/exceptions/UnsupportedSyscallException.java new file mode 100644 index 0000000..6b214f1 --- /dev/null +++ b/zpu/sw/simulator/com/zylin/zpu/simulator/exceptions/UnsupportedSyscallException.java @@ -0,0 +1,12 @@ + +package com.zylin.zpu.simulator.exceptions; + +public class UnsupportedSyscallException extends CPUException +{ + + /** + * + */ + private static final long serialVersionUID = 1L; + +} |