From cee53b021632c95f1b4882664a31ca639a9b0700 Mon Sep 17 00:00:00 2001 From: Matt Windsor Date: Sun, 20 Mar 2011 16:38:51 +0000 Subject: Rewrite of server to use HttpCore example code; beginning of code reformat from GNU style to Java conventions. Code now includes Apache license code. --- .../exceptions/DecodeFailureException.html | 250 ++++++++++++++++++++ .../exceptions/InvalidMessageException.html | 251 +++++++++++++++++++++ .../class-use/DecodeFailureException.html | 209 +++++++++++++++++ .../class-use/InvalidMessageException.html | 209 +++++++++++++++++ .../org/ury/protocol/exceptions/package-frame.html | 34 +++ .../ury/protocol/exceptions/package-summary.html | 162 +++++++++++++ .../org/ury/protocol/exceptions/package-tree.html | 158 +++++++++++++ .../org/ury/protocol/exceptions/package-use.html | 216 ++++++++++++++++++ 8 files changed, 1489 insertions(+) create mode 100644 doc/uk/org/ury/protocol/exceptions/DecodeFailureException.html create mode 100644 doc/uk/org/ury/protocol/exceptions/InvalidMessageException.html create mode 100644 doc/uk/org/ury/protocol/exceptions/class-use/DecodeFailureException.html create mode 100644 doc/uk/org/ury/protocol/exceptions/class-use/InvalidMessageException.html create mode 100644 doc/uk/org/ury/protocol/exceptions/package-frame.html create mode 100644 doc/uk/org/ury/protocol/exceptions/package-summary.html create mode 100644 doc/uk/org/ury/protocol/exceptions/package-tree.html create mode 100644 doc/uk/org/ury/protocol/exceptions/package-use.html (limited to 'doc/uk/org/ury/protocol/exceptions') diff --git a/doc/uk/org/ury/protocol/exceptions/DecodeFailureException.html b/doc/uk/org/ury/protocol/exceptions/DecodeFailureException.html new file mode 100644 index 0000000..60358ee --- /dev/null +++ b/doc/uk/org/ury/protocol/exceptions/DecodeFailureException.html @@ -0,0 +1,250 @@ + + + + + + +DecodeFailureException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +uk.org.ury.protocol.exceptions +
+Class DecodeFailureException

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

+Exception thrown when the protocol decoder fails. +

+ +

+

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

+ + + + + + + + + + + +
+Constructor Summary
DecodeFailureException(java.lang.String reason) + +
+          Construct a new DecodeFailureException with a reason.
+  + + + + + + + +
+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
+ +

+DecodeFailureException

+
+public DecodeFailureException(java.lang.String reason)
+
+
Construct a new DecodeFailureException with a reason. +

+

+
Parameters:
reason - The reason for throwing the exception.
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/uk/org/ury/protocol/exceptions/InvalidMessageException.html b/doc/uk/org/ury/protocol/exceptions/InvalidMessageException.html new file mode 100644 index 0000000..9d4eea3 --- /dev/null +++ b/doc/uk/org/ury/protocol/exceptions/InvalidMessageException.html @@ -0,0 +1,251 @@ + + + + + + +InvalidMessageException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +uk.org.ury.protocol.exceptions +
+Class InvalidMessageException

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

+Generic exception thrown when a protocol function cannot process a + message due to an issue with the message. +

+ +

+

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

+ + + + + + + + + + + +
+Constructor Summary
InvalidMessageException(java.lang.String reason) + +
+          Construct a new InvalidMessageException with a reason.
+  + + + + + + + +
+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
+ +

+InvalidMessageException

+
+public InvalidMessageException(java.lang.String reason)
+
+
Construct a new InvalidMessageException with a reason. +

+

+
Parameters:
reason - The reason for throwing the exception.
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/uk/org/ury/protocol/exceptions/class-use/DecodeFailureException.html b/doc/uk/org/ury/protocol/exceptions/class-use/DecodeFailureException.html new file mode 100644 index 0000000..5560a27 --- /dev/null +++ b/doc/uk/org/ury/protocol/exceptions/class-use/DecodeFailureException.html @@ -0,0 +1,209 @@ + + + + + + +Uses of Class uk.org.ury.protocol.exceptions.DecodeFailureException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
uk.org.ury.protocol.exceptions.DecodeFailureException

+
+ + + + + + + + + + + + + +
+Packages that use DecodeFailureException
uk.org.ury.client  
uk.org.ury.protocol  
+  +

+ + + + + +
+Uses of DecodeFailureException in uk.org.ury.client
+  +

+ + + + + + + + + +
Methods in uk.org.ury.client that throw DecodeFailureException
+ java.util.Map<?,?>Client.get(java.lang.String file) + +
+          Get a raw response from the server.
+  +

+ + + + + +
+Uses of DecodeFailureException in uk.org.ury.protocol
+  +

+ + + + + + + + + +
Methods in uk.org.ury.protocol that throw DecodeFailureException
+static java.util.Map<?,?>ProtocolUtils.decode(java.lang.String string) + +
+          Decode a protocol string into a key-value map.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/uk/org/ury/protocol/exceptions/class-use/InvalidMessageException.html b/doc/uk/org/ury/protocol/exceptions/class-use/InvalidMessageException.html new file mode 100644 index 0000000..fd74688 --- /dev/null +++ b/doc/uk/org/ury/protocol/exceptions/class-use/InvalidMessageException.html @@ -0,0 +1,209 @@ + + + + + + +Uses of Class uk.org.ury.protocol.exceptions.InvalidMessageException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
uk.org.ury.protocol.exceptions.InvalidMessageException

+
+ + + + + + + + + + + + + +
+Packages that use InvalidMessageException
uk.org.ury.library.viewer  
uk.org.ury.protocol  
+  +

+ + + + + +
+Uses of InvalidMessageException in uk.org.ury.library.viewer
+  +

+ + + + + + + + + +
Methods in uk.org.ury.library.viewer that throw InvalidMessageException
+ voidLibraryViewer.doSearch(java.lang.String search) + +
+          Do a library search.
+  +

+ + + + + +
+Uses of InvalidMessageException in uk.org.ury.protocol
+  +

+ + + + + + + + + +
Methods in uk.org.ury.protocol that throw InvalidMessageException
+static booleanProtocolUtils.responseIsOK(java.util.Map<?,?> response) + +
+          Check if a response is flagged as having OK status.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/uk/org/ury/protocol/exceptions/package-frame.html b/doc/uk/org/ury/protocol/exceptions/package-frame.html new file mode 100644 index 0000000..db1d0de --- /dev/null +++ b/doc/uk/org/ury/protocol/exceptions/package-frame.html @@ -0,0 +1,34 @@ + + + + + + +uk.org.ury.protocol.exceptions + + + + + + + + + + + +uk.org.ury.protocol.exceptions + + + + +
+Exceptions  + +
+DecodeFailureException +
+InvalidMessageException
+ + + + diff --git a/doc/uk/org/ury/protocol/exceptions/package-summary.html b/doc/uk/org/ury/protocol/exceptions/package-summary.html new file mode 100644 index 0000000..45e4348 --- /dev/null +++ b/doc/uk/org/ury/protocol/exceptions/package-summary.html @@ -0,0 +1,162 @@ + + + + + + +uk.org.ury.protocol.exceptions + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package uk.org.ury.protocol.exceptions +

+ + + + + + + + + + + + + +
+Exception Summary
DecodeFailureExceptionException thrown when the protocol decoder fails.
InvalidMessageExceptionGeneric exception thrown when a protocol function cannot process a + message due to an issue with the message.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/uk/org/ury/protocol/exceptions/package-tree.html b/doc/uk/org/ury/protocol/exceptions/package-tree.html new file mode 100644 index 0000000..8636471 --- /dev/null +++ b/doc/uk/org/ury/protocol/exceptions/package-tree.html @@ -0,0 +1,158 @@ + + + + + + +uk.org.ury.protocol.exceptions Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package uk.org.ury.protocol.exceptions +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/uk/org/ury/protocol/exceptions/package-use.html b/doc/uk/org/ury/protocol/exceptions/package-use.html new file mode 100644 index 0000000..d6b9dea --- /dev/null +++ b/doc/uk/org/ury/protocol/exceptions/package-use.html @@ -0,0 +1,216 @@ + + + + + + +Uses of Package uk.org.ury.protocol.exceptions + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
uk.org.ury.protocol.exceptions

+
+ + + + + + + + + + + + + + + + + +
+Packages that use uk.org.ury.protocol.exceptions
uk.org.ury.client  
uk.org.ury.library.viewer  
uk.org.ury.protocol  
+  +

+ + + + + + + + +
+Classes in uk.org.ury.protocol.exceptions used by uk.org.ury.client
DecodeFailureException + +
+          Exception thrown when the protocol decoder fails.
+  +

+ + + + + + + + +
+Classes in uk.org.ury.protocol.exceptions used by uk.org.ury.library.viewer
InvalidMessageException + +
+          Generic exception thrown when a protocol function cannot process a + message due to an issue with the message.
+  +

+ + + + + + + + + + + +
+Classes in uk.org.ury.protocol.exceptions used by uk.org.ury.protocol
DecodeFailureException + +
+          Exception thrown when the protocol decoder fails.
InvalidMessageException + +
+          Generic exception thrown when a protocol function cannot process a + message due to an issue with the message.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + -- cgit v1.2.3