diff --git a/source/de/anomic/plasma/plasmaParser.java b/source/de/anomic/plasma/plasmaParser.java index e63986f41..02fb21638 100644 --- a/source/de/anomic/plasma/plasmaParser.java +++ b/source/de/anomic/plasma/plasmaParser.java @@ -544,9 +544,9 @@ public final class plasmaParser { // testing if the resource is not empty if (sourceArray == null || sourceArray.length == 0) { - final String errorMsg = "No resource content available (1)."; + final String errorMsg = "No resource content available (1) " + ((sourceArray == null) ? "source == null" : "source.length() == 0"); this.theLogger.logInfo("Unable to parse '" + location + "'. " + errorMsg); - throw new ParserException(errorMsg,location, "document has no content"); + throw new ParserException(errorMsg,location, errorMsg); } // creating an InputStream diff --git a/source/de/anomic/plasma/plasmaSwitchboard.java b/source/de/anomic/plasma/plasmaSwitchboard.java index 5cf3ca03f..e5ae12e4d 100644 --- a/source/de/anomic/plasma/plasmaSwitchboard.java +++ b/source/de/anomic/plasma/plasmaSwitchboard.java @@ -1037,7 +1037,7 @@ public final class plasmaSwitchboard extends serverAbstractSwitch