|
From: <bra...@us...> - 2010-06-04 01:52:17
|
Revision: 3147
http://archive-access.svn.sourceforge.net/archive-access/?rev=3147&view=rev
Author: bradtofel
Date: 2010-06-04 01:52:10 +0000 (Fri, 04 Jun 2010)
Log Message:
-----------
Deprecated
Modified Paths:
--------------
trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/exception/AnnotationExceptionRenderer.java
trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/exception/CustomNotInArchiveExceptionRenderer.java
Modified: trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/exception/AnnotationExceptionRenderer.java
===================================================================
--- trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/exception/AnnotationExceptionRenderer.java 2010-06-03 23:31:35 UTC (rev 3146)
+++ trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/exception/AnnotationExceptionRenderer.java 2010-06-04 01:52:10 UTC (rev 3147)
@@ -39,6 +39,7 @@
*
* @author brad
* @version $Date$, $Revision$
+ * @deprecated
*/
public class AnnotationExceptionRenderer extends BaseExceptionRenderer {
private AccessControlClient client = null;
@@ -47,17 +48,17 @@
public void init() {
client = new AccessControlClient(oracleUrl);
}
- public String getExceptionHandler(HttpServletRequest httpRequest,
- HttpServletResponse httpResponse, WaybackRequest wbRequest,
- WaybackException exception) {
- // the "standard HTML" response handler:
- String jspPath = getCustomHandler(exception,wbRequest);
- if(jspPath == null) {
- jspPath = super.getExceptionHandler(httpRequest, httpResponse,
- wbRequest, exception);
- }
- return jspPath;
- }
+// public String getExceptionHandler(HttpServletRequest httpRequest,
+// HttpServletResponse httpResponse, WaybackRequest wbRequest,
+// WaybackException exception) {
+// // the "standard HTML" response handler:
+// String jspPath = getCustomHandler(exception,wbRequest);
+// if(jspPath == null) {
+// jspPath = super.getExceptionHandler(httpRequest, httpResponse,
+// wbRequest, exception);
+// }
+// return jspPath;
+// }
private String getCustomHandler(WaybackException e, WaybackRequest wbRequest) {
String jspPath = null;
@@ -84,6 +85,7 @@
}
return null;
}
+
/**
* @return the client
*/
Modified: trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/exception/CustomNotInArchiveExceptionRenderer.java
===================================================================
--- trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/exception/CustomNotInArchiveExceptionRenderer.java 2010-06-03 23:31:35 UTC (rev 3146)
+++ trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/exception/CustomNotInArchiveExceptionRenderer.java 2010-06-04 01:52:10 UTC (rev 3147)
@@ -38,22 +38,23 @@
*
* @author brad
* @version $Date$, $Revision$
+ * @deprecated
*/
public class CustomNotInArchiveExceptionRenderer extends BaseExceptionRenderer {
private HashMap<String,Object> hosts = null;
private String jspHandler = null;
- public String getExceptionHandler(HttpServletRequest httpRequest,
- HttpServletResponse httpResponse, WaybackRequest wbRequest,
- WaybackException exception) {
- String jspPath = getCustomHandler(exception,wbRequest);
- if(jspPath == null) {
- jspPath = super.getExceptionHandler(httpRequest, httpResponse,
- wbRequest, exception);
- }
- return jspPath;
- }
+// public String getExceptionHandler(HttpServletRequest httpRequest,
+// HttpServletResponse httpResponse, WaybackRequest wbRequest,
+// WaybackException exception) {
+// String jspPath = getCustomHandler(exception,wbRequest);
+// if(jspPath == null) {
+// jspPath = super.getExceptionHandler(httpRequest, httpResponse,
+// wbRequest, exception);
+// }
+// return jspPath;
+// }
/**
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|