tracked down a nasty error reporting bug
[mir.git] / source / OpenMir.java
index aeefb12..2c6f092 100755 (executable)
@@ -99,11 +99,11 @@ public class OpenMir extends AbstractServlet {
       ServletModuleDispatch.dispatch(ServletModuleOpenIndy.getInstance(),req,res);
     }
     catch (ServletModuleUserException e) {
-      handleUserError(req,res,res.getWriter(), e.getMsg());
+      handleUserError(req,res,res.getWriter(), e.getMessage());
     }
     catch (ServletModuleException e){
       e.printStackTrace();
-      handleError(req,res,res.getWriter(), "OpenIndy :: ServletException in Module ServletModule -- " + e.toString());
+      handleError(req,res,res.getWriter(), "OpenIndy :: ServletException in Module ServletModule -- " + e.getMessage());
     }
     // timing...
     sessionConnectTime = new java.util.Date().getTime() - startTime;
@@ -122,7 +122,7 @@ public class OpenMir extends AbstractServlet {
       out.close();
     }
     catch (Exception e) {
-      System.err.println("Fehler in UserErrorTemplate");
+      System.err.println("Error in UserErrorTemplate");
     }
 
   }
@@ -140,7 +140,7 @@ public class OpenMir extends AbstractServlet {
       out.close();
     }
     catch (Exception e) {
-      System.err.println("Fehler in ErrorTemplate");
+      System.err.println("Error in ErrorTemplate");
     }
 
   }