diff options
author | Matt Windsor <mattwindsor@btinternet.com> | 2011-03-20 01:40:08 +0000 |
---|---|---|
committer | Matt Windsor <mattwindsor@btinternet.com> | 2011-03-20 01:40:08 +0000 |
commit | 0a4133a08038b1d867a78be20dd6afafbd0b09d1 (patch) | |
tree | 86f765376ccf930f5ef91c44e35708df7fa17bcd /src/uk/org/ury/protocol/exceptions/DecodeFailureException.java | |
parent | 8f0360d9e72843d527b2db28047ae5f0498f3a3e (diff) |
Cleanup and fixery.
Diffstat (limited to 'src/uk/org/ury/protocol/exceptions/DecodeFailureException.java')
-rw-r--r-- | src/uk/org/ury/protocol/exceptions/DecodeFailureException.java | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/uk/org/ury/protocol/exceptions/DecodeFailureException.java b/src/uk/org/ury/protocol/exceptions/DecodeFailureException.java new file mode 100644 index 0000000..708732b --- /dev/null +++ b/src/uk/org/ury/protocol/exceptions/DecodeFailureException.java @@ -0,0 +1,32 @@ +/** + * + */ +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); + } +} |