From 2d073129857a42ab4195cd433c8be152e357033f Mon Sep 17 00:00:00 2001 From: Matt Windsor Date: Mon, 21 Mar 2011 20:40:57 +0000 Subject: Documentation refresh; ResourceBundle in ShowUtils; probably some format pokery. --- .../ury/server/exceptions/BadRequestException.html | 4 +- .../server/exceptions/HandleFailureException.html | 4 +- .../exceptions/HandlerNotFoundException.html | 4 +- .../exceptions/HandlerSetupFailureException.html | 4 +- .../ury/server/exceptions/HandlingException.html | 6 +- .../server/exceptions/NotAHandlerException.html | 8 +- .../exceptions/UnknownFunctionException.html | 252 +++++++++++++++++++++ .../exceptions/class-use/BadRequestException.html | 43 +++- .../class-use/HandleFailureException.html | 26 ++- .../class-use/HandlerNotFoundException.html | 43 +++- .../class-use/HandlerSetupFailureException.html | 43 +++- .../exceptions/class-use/HandlingException.html | 13 +- .../exceptions/class-use/NotAHandlerException.html | 43 +++- .../class-use/UnknownFunctionException.html | 182 +++++++++++++++ .../org/ury/server/exceptions/package-frame.html | 8 +- .../org/ury/server/exceptions/package-summary.html | 9 +- doc/uk/org/ury/server/exceptions/package-tree.html | 6 +- doc/uk/org/ury/server/exceptions/package-use.html | 41 +++- 18 files changed, 679 insertions(+), 60 deletions(-) create mode 100644 doc/uk/org/ury/server/exceptions/UnknownFunctionException.html create mode 100644 doc/uk/org/ury/server/exceptions/class-use/UnknownFunctionException.html (limited to 'doc/uk/org/ury/server/exceptions') diff --git a/doc/uk/org/ury/server/exceptions/BadRequestException.html b/doc/uk/org/ury/server/exceptions/BadRequestException.html index 2c17ab1..c8e95a2 100644 --- a/doc/uk/org/ury/server/exceptions/BadRequestException.html +++ b/doc/uk/org/ury/server/exceptions/BadRequestException.html @@ -2,12 +2,12 @@ - + BadRequestException - + diff --git a/doc/uk/org/ury/server/exceptions/HandleFailureException.html b/doc/uk/org/ury/server/exceptions/HandleFailureException.html index 2daa29c..85b2ea6 100644 --- a/doc/uk/org/ury/server/exceptions/HandleFailureException.html +++ b/doc/uk/org/ury/server/exceptions/HandleFailureException.html @@ -2,12 +2,12 @@ - + HandleFailureException - + diff --git a/doc/uk/org/ury/server/exceptions/HandlerNotFoundException.html b/doc/uk/org/ury/server/exceptions/HandlerNotFoundException.html index 01b72bf..a752990 100644 --- a/doc/uk/org/ury/server/exceptions/HandlerNotFoundException.html +++ b/doc/uk/org/ury/server/exceptions/HandlerNotFoundException.html @@ -2,12 +2,12 @@ - + HandlerNotFoundException - + diff --git a/doc/uk/org/ury/server/exceptions/HandlerSetupFailureException.html b/doc/uk/org/ury/server/exceptions/HandlerSetupFailureException.html index 8b863f9..8ee330d 100644 --- a/doc/uk/org/ury/server/exceptions/HandlerSetupFailureException.html +++ b/doc/uk/org/ury/server/exceptions/HandlerSetupFailureException.html @@ -2,12 +2,12 @@ - + HandlerSetupFailureException - + diff --git a/doc/uk/org/ury/server/exceptions/HandlingException.html b/doc/uk/org/ury/server/exceptions/HandlingException.html index 3cc3042..fdc97b1 100644 --- a/doc/uk/org/ury/server/exceptions/HandlingException.html +++ b/doc/uk/org/ury/server/exceptions/HandlingException.html @@ -2,12 +2,12 @@ - + HandlingException - + @@ -101,7 +101,7 @@ java.lang.Object
All Implemented Interfaces:
java.io.Serializable
-
Direct Known Subclasses:
BadRequestException, HandleFailureException, HandlerNotFoundException, HandlerSetupFailureException, NotAHandlerException
+
Direct Known Subclasses:
BadRequestException, HandleFailureException, HandlerNotFoundException, HandlerSetupFailureException, NotAHandlerException, UnknownFunctionException

diff --git a/doc/uk/org/ury/server/exceptions/NotAHandlerException.html b/doc/uk/org/ury/server/exceptions/NotAHandlerException.html index bab0a9d..0bb2b0b 100644 --- a/doc/uk/org/ury/server/exceptions/NotAHandlerException.html +++ b/doc/uk/org/ury/server/exceptions/NotAHandlerException.html @@ -2,12 +2,12 @@ - + NotAHandlerException - + @@ -56,7 +56,7 @@ function windowTitle()  PREV CLASS  - NEXT CLASSNEXT CLASS FRAMES    NO FRAMES   @@ -220,7 +220,7 @@ public NotAHandlerException(java.lang.String className)  PREV CLASS  - NEXT CLASSNEXT CLASS FRAMES    NO FRAMES   diff --git a/doc/uk/org/ury/server/exceptions/UnknownFunctionException.html b/doc/uk/org/ury/server/exceptions/UnknownFunctionException.html new file mode 100644 index 0000000..86da911 --- /dev/null +++ b/doc/uk/org/ury/server/exceptions/UnknownFunctionException.html @@ -0,0 +1,252 @@ + + + + + + +UnknownFunctionException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +uk.org.ury.server.exceptions +
+Class UnknownFunctionException

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

+Exception thrown when a handler receives a request for a path that does not + correspond to one of its functions. +

+ +

+

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

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

+UnknownFunctionException

+
+public UnknownFunctionException(java.lang.String path)
+
+
Construct a new UnknownFunctionException. +

+

+
Parameters:
path - The path that was requested.
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/uk/org/ury/server/exceptions/class-use/BadRequestException.html b/doc/uk/org/ury/server/exceptions/class-use/BadRequestException.html index 5b6157e..2d57f73 100644 --- a/doc/uk/org/ury/server/exceptions/class-use/BadRequestException.html +++ b/doc/uk/org/ury/server/exceptions/class-use/BadRequestException.html @@ -2,12 +2,12 @@ - + Uses of Class uk.org.ury.server.exceptions.BadRequestException - + @@ -90,9 +90,40 @@ function windowTitle() Packages that use BadRequestException
-uk.org.ury.server +uk.org.ury.library    + +uk.org.ury.server +The URY Server kernel.  + + +  +

+ + + + + +
+Uses of BadRequestException in uk.org.ury.library
+  +

+ + + + + + + + +
Methods in uk.org.ury.library that throw BadRequestException
+ voidLibraryRequestHandler.handleGet(org.apache.http.HttpRequest request, + org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context) + +
+          Handle a HTTP GET request.
 

@@ -112,8 +143,10 @@ Uses of - org.apache.http.HttpResponse -Server.handleGet(java.util.List<java.lang.String> buffer) + void +HttpHandler.handleGet(org.apache.http.HttpRequest request, + org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context)
          Handle a HTTP GET request. diff --git a/doc/uk/org/ury/server/exceptions/class-use/HandleFailureException.html b/doc/uk/org/ury/server/exceptions/class-use/HandleFailureException.html index f55933d..9364cdf 100644 --- a/doc/uk/org/ury/server/exceptions/class-use/HandleFailureException.html +++ b/doc/uk/org/ury/server/exceptions/class-use/HandleFailureException.html @@ -2,12 +2,12 @@ - + Uses of Class uk.org.ury.server.exceptions.HandleFailureException - + @@ -95,7 +95,7 @@ Packages that use uk.org.ury.server -   +The URY Server kernel.    @@ -116,13 +116,13 @@ Uses of - java.util.Map<java.lang.String,java.lang.Object> -LibraryRequestHandler.handleGetRequest(java.util.Map<java.lang.String,java.lang.String> parameters, - Server server) + void +LibraryRequestHandler.handleGet(org.apache.http.HttpRequest request, + org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context)
-          Handle a server GET request (that is, a request for data - output). +          Handle a HTTP GET request.   @@ -143,8 +143,10 @@ Uses of - org.apache.http.HttpResponse -Server.handleGet(java.util.List<java.lang.String> buffer) + void +HttpHandler.handleGet(org.apache.http.HttpRequest request, + org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context)
          Handle a HTTP GET request. @@ -152,7 +154,7 @@ Uses of  java.util.Map<java.lang.String,java.lang.Object> -ServerRequestHandler.handleGetRequest(java.util.Map<java.lang.String,java.lang.String> parameters, +ApiRequestHandler.handleGetRequest(java.util.Map<java.lang.String,java.lang.String> parameters, Server server)
@@ -162,7 +164,7 @@ Uses of  java.util.Map<java.lang.String,java.lang.Object> -RequestHandler.handleGetRequest(java.util.Map<java.lang.String,java.lang.String> parameters, +ServerRequestHandler.handleGetRequest(java.util.Map<java.lang.String,java.lang.String> parameters, Server server)
diff --git a/doc/uk/org/ury/server/exceptions/class-use/HandlerNotFoundException.html b/doc/uk/org/ury/server/exceptions/class-use/HandlerNotFoundException.html index 1b11504..02106c5 100644 --- a/doc/uk/org/ury/server/exceptions/class-use/HandlerNotFoundException.html +++ b/doc/uk/org/ury/server/exceptions/class-use/HandlerNotFoundException.html @@ -2,12 +2,12 @@ - + Uses of Class uk.org.ury.server.exceptions.HandlerNotFoundException - + @@ -90,9 +90,40 @@ function windowTitle() Packages that use HandlerNotFoundException -uk.org.ury.server +uk.org.ury.library    + +uk.org.ury.server +The URY Server kernel.  + + +  +

+ + + + + +
+Uses of HandlerNotFoundException in uk.org.ury.library
+  +

+ + + + + + + + +
Methods in uk.org.ury.library that throw HandlerNotFoundException
+ voidLibraryRequestHandler.handleGet(org.apache.http.HttpRequest request, + org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context) + +
+          Handle a HTTP GET request.
 

@@ -112,8 +143,10 @@ Uses of - org.apache.http.HttpResponse -Server.handleGet(java.util.List<java.lang.String> buffer) + void +HttpHandler.handleGet(org.apache.http.HttpRequest request, + org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context)
          Handle a HTTP GET request. diff --git a/doc/uk/org/ury/server/exceptions/class-use/HandlerSetupFailureException.html b/doc/uk/org/ury/server/exceptions/class-use/HandlerSetupFailureException.html index 0fe52ae..3424716 100644 --- a/doc/uk/org/ury/server/exceptions/class-use/HandlerSetupFailureException.html +++ b/doc/uk/org/ury/server/exceptions/class-use/HandlerSetupFailureException.html @@ -2,12 +2,12 @@ - + Uses of Class uk.org.ury.server.exceptions.HandlerSetupFailureException - + @@ -90,9 +90,40 @@ function windowTitle() Packages that use HandlerSetupFailureException -uk.org.ury.server +uk.org.ury.library    + +uk.org.ury.server +The URY Server kernel.  + + +  +

+ + + + + +
+Uses of HandlerSetupFailureException in uk.org.ury.library
+  +

+ + + + + + + + +
Methods in uk.org.ury.library that throw HandlerSetupFailureException
+ voidLibraryRequestHandler.handleGet(org.apache.http.HttpRequest request, + org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context) + +
+          Handle a HTTP GET request.
 

@@ -112,8 +143,10 @@ Uses of - org.apache.http.HttpResponse -Server.handleGet(java.util.List<java.lang.String> buffer) + void +HttpHandler.handleGet(org.apache.http.HttpRequest request, + org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context)
          Handle a HTTP GET request. diff --git a/doc/uk/org/ury/server/exceptions/class-use/HandlingException.html b/doc/uk/org/ury/server/exceptions/class-use/HandlingException.html index cbf12c8..d9922f4 100644 --- a/doc/uk/org/ury/server/exceptions/class-use/HandlingException.html +++ b/doc/uk/org/ury/server/exceptions/class-use/HandlingException.html @@ -2,12 +2,12 @@ - + Uses of Class uk.org.ury.server.exceptions.HandlingException - + @@ -155,6 +155,15 @@ Uses of + + class +UnknownFunctionException + +
+          Exception thrown when a handler receives a request for a path that does not + correspond to one of its functions. +  

diff --git a/doc/uk/org/ury/server/exceptions/class-use/NotAHandlerException.html b/doc/uk/org/ury/server/exceptions/class-use/NotAHandlerException.html index 76923dc..6014f7d 100644 --- a/doc/uk/org/ury/server/exceptions/class-use/NotAHandlerException.html +++ b/doc/uk/org/ury/server/exceptions/class-use/NotAHandlerException.html @@ -2,12 +2,12 @@ - + Uses of Class uk.org.ury.server.exceptions.NotAHandlerException - + @@ -90,9 +90,40 @@ function windowTitle() Packages that use NotAHandlerException -uk.org.ury.server +uk.org.ury.library    + +uk.org.ury.server +The URY Server kernel.  + + +  +

+ + + + + +
+Uses of NotAHandlerException in uk.org.ury.library
+  +

+ + + + + + + + +
Methods in uk.org.ury.library that throw NotAHandlerException
+ voidLibraryRequestHandler.handleGet(org.apache.http.HttpRequest request, + org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context) + +
+          Handle a HTTP GET request.
 

@@ -112,8 +143,10 @@ Uses of - org.apache.http.HttpResponse -Server.handleGet(java.util.List<java.lang.String> buffer) + void +HttpHandler.handleGet(org.apache.http.HttpRequest request, + org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context)
          Handle a HTTP GET request. diff --git a/doc/uk/org/ury/server/exceptions/class-use/UnknownFunctionException.html b/doc/uk/org/ury/server/exceptions/class-use/UnknownFunctionException.html new file mode 100644 index 0000000..25b291a --- /dev/null +++ b/doc/uk/org/ury/server/exceptions/class-use/UnknownFunctionException.html @@ -0,0 +1,182 @@ + + + + + + +Uses of Class uk.org.ury.server.exceptions.UnknownFunctionException + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
uk.org.ury.server.exceptions.UnknownFunctionException

+
+ + + + + + + + + +
+Packages that use UnknownFunctionException
uk.org.ury.library  
+  +

+ + + + + +
+Uses of UnknownFunctionException in uk.org.ury.library
+  +

+ + + + + + + + + +
Methods in uk.org.ury.library that throw UnknownFunctionException
+ voidLibraryRequestHandler.handleGet(org.apache.http.HttpRequest request, + org.apache.http.HttpResponse response, + org.apache.http.protocol.HttpContext context) + +
+          Handle a HTTP GET request.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/uk/org/ury/server/exceptions/package-frame.html b/doc/uk/org/ury/server/exceptions/package-frame.html index 4a740da..787aadf 100644 --- a/doc/uk/org/ury/server/exceptions/package-frame.html +++ b/doc/uk/org/ury/server/exceptions/package-frame.html @@ -2,12 +2,12 @@ - + uk.org.ury.server.exceptions - + @@ -33,7 +33,9 @@ Exceptions 
HandlingException
-NotAHandlerException +NotAHandlerException +
+UnknownFunctionException diff --git a/doc/uk/org/ury/server/exceptions/package-summary.html b/doc/uk/org/ury/server/exceptions/package-summary.html index 6687b8c..f09d12b 100644 --- a/doc/uk/org/ury/server/exceptions/package-summary.html +++ b/doc/uk/org/ury/server/exceptions/package-summary.html @@ -2,12 +2,12 @@ - + uk.org.ury.server.exceptions - + @@ -117,6 +117,11 @@ Package uk.org.ury.server.exceptions Exception thrown if the class requested as a handler by the client is, in fact, not a handler (it does not implement RequestHandler). + +UnknownFunctionException +Exception thrown when a handler receives a request for a path that does not + correspond to one of its functions. +   diff --git a/doc/uk/org/ury/server/exceptions/package-tree.html b/doc/uk/org/ury/server/exceptions/package-tree.html index 25cf80a..4379b03 100644 --- a/doc/uk/org/ury/server/exceptions/package-tree.html +++ b/doc/uk/org/ury/server/exceptions/package-tree.html @@ -2,12 +2,12 @@ - + uk.org.ury.server.exceptions Class Hierarchy - + @@ -96,7 +96,7 @@ Class Hierarchy diff --git a/doc/uk/org/ury/server/exceptions/package-use.html b/doc/uk/org/ury/server/exceptions/package-use.html index 44ad46a..e3b1724 100644 --- a/doc/uk/org/ury/server/exceptions/package-use.html +++ b/doc/uk/org/ury/server/exceptions/package-use.html @@ -2,12 +2,12 @@ - + Uses of Package uk.org.ury.server.exceptions - + @@ -95,7 +95,7 @@ Packages that use uk.org.ury.server -   +The URY Server kernel.  uk.org.ury.server.exceptions @@ -111,12 +111,47 @@ Packages that use uk.org.ury.server.exceptions used by uk.org.ury.library +BadRequestException + +
+          Exception thrown when the server meets a malformed request, or + part of one. + + HandleFailureException
          Generic exception thrown when a server request handler fails to handle a request. + +HandlerNotFoundException + +
+          Exception thrown when the server request handler requested + by the client is not * found in the class space. + + +HandlerSetupFailureException + +
+          Exception thrown when the server request handler requested + by the client cannot be set up to process the request. + + +NotAHandlerException + +
+          Exception thrown if the class requested as a handler by the client + is, in fact, not a handler (it does not implement RequestHandler). + + +UnknownFunctionException + +
+          Exception thrown when a handler receives a request for a path that does not + correspond to one of its functions. +  

-- cgit v1.2.3