From edf99237651912c729ae89464ca8cc1305c55957 Mon Sep 17 00:00:00 2001 From: Matt Windsor Date: Thu, 24 Mar 2011 14:45:36 +0000 Subject: Documentation refresh; classpath update; CODECHANGE: moved content serving in request handling to abstract request handler. --- .../exceptions/DecodeFailureException.html | 20 +- .../exceptions/EncodeFailureException.html | 250 +++++++++++++++++++++ .../exceptions/InvalidMessageException.html | 8 +- .../class-use/DecodeFailureException.html | 10 +- .../class-use/EncodeFailureException.html | 180 +++++++++++++++ .../class-use/InvalidMessageException.html | 8 +- .../common/protocol/exceptions/package-frame.html | 6 +- .../protocol/exceptions/package-summary.html | 8 +- .../common/protocol/exceptions/package-tree.html | 6 +- .../common/protocol/exceptions/package-use.html | 10 +- 10 files changed, 474 insertions(+), 32 deletions(-) create mode 100644 doc/uk/org/ury/common/protocol/exceptions/EncodeFailureException.html create mode 100644 doc/uk/org/ury/common/protocol/exceptions/class-use/EncodeFailureException.html (limited to 'doc/uk/org/ury/common/protocol/exceptions') diff --git a/doc/uk/org/ury/common/protocol/exceptions/DecodeFailureException.html b/doc/uk/org/ury/common/protocol/exceptions/DecodeFailureException.html index 50bc91a..c5b30dd 100644 --- a/doc/uk/org/ury/common/protocol/exceptions/DecodeFailureException.html +++ b/doc/uk/org/ury/common/protocol/exceptions/DecodeFailureException.html @@ -2,12 +2,12 @@ - + DecodeFailureException - + @@ -56,7 +56,7 @@ function windowTitle()  PREV CLASS  - NEXT CLASSNEXT CLASS FRAMES    NO FRAMES   @@ -127,10 +127,10 @@ Exception thrown when the protocol decoder fails. Constructor Summary -DecodeFailureException(java.lang.String reason) +DecodeFailureException(java.lang.Throwable cause)
-          Construct a new DecodeFailureException with a reason. +          Construct a new DecodeFailureException with a chained exception.   @@ -174,15 +174,15 @@ Exception thrown when the protocol decoder fails. -

+

DecodeFailureException

-public DecodeFailureException(java.lang.String reason)
+public DecodeFailureException(java.lang.Throwable cause)
-
Construct a new DecodeFailureException with a reason. +
Construct a new DecodeFailureException with a chained exception.

-
Parameters:
reason - The reason for throwing the exception.
+
Parameters:
cause - The exception to chain.

@@ -216,7 +216,7 @@ public DecodeFailureException(java.lang.String reason)  PREV CLASS  - NEXT CLASSNEXT CLASS FRAMES    NO FRAMES   diff --git a/doc/uk/org/ury/common/protocol/exceptions/EncodeFailureException.html b/doc/uk/org/ury/common/protocol/exceptions/EncodeFailureException.html new file mode 100644 index 0000000..2d932d7 --- /dev/null +++ b/doc/uk/org/ury/common/protocol/exceptions/EncodeFailureException.html @@ -0,0 +1,250 @@ + + + + + + +EncodeFailureException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +uk.org.ury.common.protocol.exceptions +
+Class EncodeFailureException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by uk.org.ury.common.protocol.exceptions.EncodeFailureException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class EncodeFailureException
extends java.lang.Exception
+ + +

+Exception thrown when the protocol encoder fails. +

+ +

+

+
Author:
+
Matt Windsor
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
EncodeFailureException(java.lang.Throwable cause) + +
+          Construct a new EncodeFailureException with a chained exception.
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+EncodeFailureException

+
+public EncodeFailureException(java.lang.Throwable cause)
+
+
Construct a new EncodeFailureException with a chained exception. +

+

+
Parameters:
cause - The exception to chain.
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/uk/org/ury/common/protocol/exceptions/InvalidMessageException.html b/doc/uk/org/ury/common/protocol/exceptions/InvalidMessageException.html index 0653219..b515d43 100644 --- a/doc/uk/org/ury/common/protocol/exceptions/InvalidMessageException.html +++ b/doc/uk/org/ury/common/protocol/exceptions/InvalidMessageException.html @@ -2,12 +2,12 @@ - + InvalidMessageException - + @@ -55,7 +55,7 @@ function windowTitle() PREV CLASS  + PREV CLASS   NEXT CLASS FRAMES   @@ -216,7 +216,7 @@ public InvalidMessageException(java.lang.String reason) PREV CLASS  + PREV CLASS   NEXT CLASS FRAMES   diff --git a/doc/uk/org/ury/common/protocol/exceptions/class-use/DecodeFailureException.html b/doc/uk/org/ury/common/protocol/exceptions/class-use/DecodeFailureException.html index e6b89a8..52896c4 100644 --- a/doc/uk/org/ury/common/protocol/exceptions/class-use/DecodeFailureException.html +++ b/doc/uk/org/ury/common/protocol/exceptions/class-use/DecodeFailureException.html @@ -2,12 +2,12 @@ - + Uses of Class uk.org.ury.common.protocol.exceptions.DecodeFailureException - + @@ -116,11 +116,11 @@ Uses of -static java.util.Map<?,?> +static java.util.Map<java.lang.String,java.lang.Object> ProtocolUtils.decode(java.lang.String string)
-          Decode a protocol string into a key-value map. +          Decodes a protocol string into a key-value map.   @@ -141,7 +141,7 @@ Uses of - java.util.Map<?,?> + java.util.Map<java.lang.String,java.lang.Object>
Client.get(java.lang.String file)
diff --git a/doc/uk/org/ury/common/protocol/exceptions/class-use/EncodeFailureException.html b/doc/uk/org/ury/common/protocol/exceptions/class-use/EncodeFailureException.html new file mode 100644 index 0000000..6f571ae --- /dev/null +++ b/doc/uk/org/ury/common/protocol/exceptions/class-use/EncodeFailureException.html @@ -0,0 +1,180 @@ + + + + + + +Uses of Class uk.org.ury.common.protocol.exceptions.EncodeFailureException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
uk.org.ury.common.protocol.exceptions.EncodeFailureException

+
+ + + + + + + + + +
+Packages that use EncodeFailureException
uk.org.ury.common.protocol  
+  +

+ + + + + +
+Uses of EncodeFailureException in uk.org.ury.common.protocol
+  +

+ + + + + + + + + +
Methods in uk.org.ury.common.protocol that throw EncodeFailureException
+static java.lang.StringProtocolUtils.encode(java.util.Map<java.lang.String,java.lang.Object> items) + +
+          Encode a key-value map into a protocol string.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/uk/org/ury/common/protocol/exceptions/class-use/InvalidMessageException.html b/doc/uk/org/ury/common/protocol/exceptions/class-use/InvalidMessageException.html index 38cd47a..81710b1 100644 --- a/doc/uk/org/ury/common/protocol/exceptions/class-use/InvalidMessageException.html +++ b/doc/uk/org/ury/common/protocol/exceptions/class-use/InvalidMessageException.html @@ -2,12 +2,12 @@ - + Uses of Class uk.org.ury.common.protocol.exceptions.InvalidMessageException - + @@ -117,10 +117,10 @@ Uses of static boolean -ProtocolUtils.responseIsOK(java.util.Map<?,?> response) +ProtocolUtils.responseIsOK(java.util.Map<java.lang.String,java.lang.Object> response)
-          Check if a response is flagged as having OK status. +          Checks if a response is flagged as having OK status.   diff --git a/doc/uk/org/ury/common/protocol/exceptions/package-frame.html b/doc/uk/org/ury/common/protocol/exceptions/package-frame.html index dc92d8b..0bbc295 100644 --- a/doc/uk/org/ury/common/protocol/exceptions/package-frame.html +++ b/doc/uk/org/ury/common/protocol/exceptions/package-frame.html @@ -2,12 +2,12 @@ - + uk.org.ury.common.protocol.exceptions - + @@ -25,6 +25,8 @@ Exceptions
 
DecodeFailureException
+EncodeFailureException +
InvalidMessageException diff --git a/doc/uk/org/ury/common/protocol/exceptions/package-summary.html b/doc/uk/org/ury/common/protocol/exceptions/package-summary.html index 5c26eba..acb4b40 100644 --- a/doc/uk/org/ury/common/protocol/exceptions/package-summary.html +++ b/doc/uk/org/ury/common/protocol/exceptions/package-summary.html @@ -2,12 +2,12 @@ - + uk.org.ury.common.protocol.exceptions - + @@ -93,6 +93,10 @@ Package uk.org.ury.common.protocol.exceptions Exception thrown when the protocol decoder fails. +EncodeFailureException +Exception thrown when the protocol encoder fails. + + InvalidMessageException Generic exception thrown when a protocol function cannot process a message due to an issue with the message. diff --git a/doc/uk/org/ury/common/protocol/exceptions/package-tree.html b/doc/uk/org/ury/common/protocol/exceptions/package-tree.html index 83fdb25..8d22f87 100644 --- a/doc/uk/org/ury/common/protocol/exceptions/package-tree.html +++ b/doc/uk/org/ury/common/protocol/exceptions/package-tree.html @@ -2,12 +2,12 @@ - + uk.org.ury.common.protocol.exceptions Class Hierarchy - + @@ -95,7 +95,7 @@ Class Hierarchy
  • java.lang.Throwable (implements java.io.Serializable) diff --git a/doc/uk/org/ury/common/protocol/exceptions/package-use.html b/doc/uk/org/ury/common/protocol/exceptions/package-use.html index 3737f62..3075a67 100644 --- a/doc/uk/org/ury/common/protocol/exceptions/package-use.html +++ b/doc/uk/org/ury/common/protocol/exceptions/package-use.html @@ -2,12 +2,12 @@ - + Uses of Package uk.org.ury.common.protocol.exceptions - + @@ -117,6 +117,12 @@ Classes in +EncodeFailureException + +
    +          Exception thrown when the protocol encoder fails. + + InvalidMessageException
    -- cgit v1.2.3