Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
more exception logging
orbiterdb510b5d52a1
diff --git a/source/de/anomic/http/httpdFileHandler.java b/source/de/anomic/http/httpdFileHandler.javaindex bc009ce80..13f7f95f6 100644--- a/source/de/anomic/http/httpdFileHandler.java+++ b/source/de/anomic/http/httpdFileHandler.java@@ -518,6 +518,8 @@ public final class httpdFileHandler {e.getTargetException().toString() + ":" +e.getTargetException().getMessage() +"; java.awt.graphicsenv='" + System.getProperty("java.awt.graphicsenv","") + "'");+ e.printStackTrace();+ e.getTargetException().printStackTrace();targetClass = null;}if (img == null) {@@ -1025,6 +1027,7 @@ public final class httpdFileHandler {} catch (final Exception e) {try {// doing some errorhandling ...+ e.printStackTrace();int httpStatusCode = 400;final String httpStatusText = null;final StringBuilder errorMessage = new StringBuilder(2000);diff --git a/source/de/anomic/server/serverInstantBlockingThread.java b/source/de/anomic/server/serverInstantBlockingThread.javaindex 02c391977..5658b4c5b 100644--- a/source/de/anomic/server/serverInstantBlockingThread.java+++ b/source/de/anomic/server/serverInstantBlockingThread.java@@ -99,7 +99,6 @@ public class serverInstantBlockingThread<J extends serverProcessorJob> extends se.printStackTrace();if ((targetException != null) && ((targetException.indexOf("heap space") > 0) || (targetException.indexOf("NullPointerException") > 0))) e.getTargetException().printStackTrace();Log.logSevere("BLOCKINGTHREAD", "Runtime Error in serverInstantThread.job, thread '" + this.getName() + "': " + e.getMessage() + "; target exception: " + targetException, e.getTargetException());- e.getTargetException().printStackTrace();} catch (final OutOfMemoryError e) {Log.logSevere("BLOCKINGTHREAD", "OutOfMemory Error in serverInstantThread.job, thread '" + this.getName() + "': " + e.getMessage());e.printStackTrace();diff --git a/source/de/anomic/server/serverInstantBusyThread.java b/source/de/anomic/server/serverInstantBusyThread.javaindex e25cdc606..26b708ce5 100644--- a/source/de/anomic/server/serverInstantBusyThread.java+++ b/source/de/anomic/server/serverInstantBusyThread.java@@ -107,6 +107,7 @@ public final class serverInstantBusyThread extends serverAbstractBusyThread impl} catch (final InvocationTargetException e) {final String targetException = e.getTargetException().getMessage();e.printStackTrace();+ e.getTargetException().printStackTrace();Log.logSevere("BUSYTHREAD", "Runtime Error in serverInstantThread.job, thread '" + this.getName() + "': " + e.getMessage() + "; target exception: " + targetException, e.getTargetException());} catch (final OutOfMemoryError e) {Log.logSevere("BUSYTHREAD", "OutOfMemory Error in serverInstantThread.job, thread '" + this.getName() + "': " + e.getMessage());