cleanup / abuse system fix / prepping for a release
[mir.git] / source / OpenMir.java
index 7a06b08..ebb3213 100755 (executable)
@@ -39,14 +39,14 @@ import javax.servlet.http.HttpSession;
 import mir.servlet.AbstractServlet;
 import mir.servlet.ServletModuleDispatch;
 import mir.servlet.ServletModuleUserExc;
-import mir.util.ExceptionFunctions;
+import mir.util.ExceptionRoutines;
 import mircoders.servlet.ServletModuleOpenIndy;
 
 /**
  *  OpenMir.java - main servlet for open posting and comment feature to articles
  *
  *  @author RK 1999-2001, the mir-coders group
- *  @version $Id: OpenMir.java,v 1.35.2.4 2005/01/22 23:27:36 zapata Exp $
+ *  @version $Id: OpenMir.java,v 1.35.2.6 2005/08/21 17:09:18 zapata Exp $
  *
  */
 
@@ -72,12 +72,15 @@ public class OpenMir extends AbstractServlet {
     aResponse.setContentType("text/html; charset="+configuration.getString("Mir.DefaultHTMLCharset"));
 
     try {
+      // call appropriate ServletModuleOpenIndy method 
+      // as specified in http request 
+      // example: OpenMir?do=opensession calls the opensession method
       ServletModuleDispatch.dispatch(ServletModuleOpenIndy.getInstance(), aRequest, aResponse);
     }
     catch (Throwable e) {
       logger.warn("Error in open publishing", e);
 
-      Throwable cause = ExceptionFunctions.traceCauseException(e);
+      Throwable cause = ExceptionRoutines.traceCauseException(e);
 
       if (cause instanceof ServletModuleUserExc)
         handleUserError(aRequest, aResponse, aResponse.getWriter(), (ServletModuleUserExc) cause);