aboutsummaryrefslogtreecommitdiff
path: root/src/uk/org/ury/protocol/exceptions
diff options
context:
space:
mode:
authorMatt Windsor <mattwindsor@btinternet.com>2011-03-21 21:54:31 +0000
committerMatt Windsor <mattwindsor@btinternet.com>2011-03-21 21:54:31 +0000
commitdf7d7981b56a4560c95ea7e9b194080e93398ecf (patch)
treeb3ae4f02d23ae1f7f4951c776ee8d91b0047dd6f /src/uk/org/ury/protocol/exceptions
parent2d073129857a42ab4195cd433c8be152e357033f (diff)
GREAT PACKAGE RESHUFFLE: Everything is now organised into frontend, backend and common (to frontend and backend) packages. Things may have been broken. Doc refresh.
Diffstat (limited to 'src/uk/org/ury/protocol/exceptions')
-rw-r--r--src/uk/org/ury/protocol/exceptions/DecodeFailureException.java32
-rw-r--r--src/uk/org/ury/protocol/exceptions/InvalidMessageException.java33
2 files changed, 0 insertions, 65 deletions
diff --git a/src/uk/org/ury/protocol/exceptions/DecodeFailureException.java b/src/uk/org/ury/protocol/exceptions/DecodeFailureException.java
deleted file mode 100644
index 708732b..0000000
--- a/src/uk/org/ury/protocol/exceptions/DecodeFailureException.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
- *
- */
-package uk.org.ury.protocol.exceptions;
-
-
-/**
- * Exception thrown when the protocol decoder fails.
- *
- * @author Matt Windsor
- */
-
-public class DecodeFailureException extends Exception
-{
- /**
- *
- */
- private static final long serialVersionUID = -3972492943653273528L;
-
-
- /**
- * Construct a new DecodeFailureException with a reason.
- *
- * @param reason The reason for throwing the exception.
- */
-
- public
- DecodeFailureException (String reason)
- {
- super (reason);
- }
-}
diff --git a/src/uk/org/ury/protocol/exceptions/InvalidMessageException.java b/src/uk/org/ury/protocol/exceptions/InvalidMessageException.java
deleted file mode 100644
index 3cf1105..0000000
--- a/src/uk/org/ury/protocol/exceptions/InvalidMessageException.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/**
- *
- */
-package uk.org.ury.protocol.exceptions;
-
-
-/**
- * Generic exception thrown when a protocol function cannot process a
- * message due to an issue with the message.
- *
- * @author Matt Windsor
- */
-
-public class InvalidMessageException extends Exception
-{
- /**
- *
- */
- private static final long serialVersionUID = -3972492943653273528L;
-
-
- /**
- * Construct a new InvalidMessageException with a reason.
- *
- * @param reason The reason for throwing the exception.
- */
-
- public
- InvalidMessageException (String reason)
- {
- super (reason);
- }
-}