[Mulgara-svn] r546 - branches/nw-interface/src/jar/itql/java/org/mulgara/itql

pag at mulgara.org pag at mulgara.org
Thu Nov 15 06:30:00 UTC 2007


Author: pag
Date: 2007-11-15 00:29:58 -0600 (Thu, 15 Nov 2007)
New Revision: 546

Modified:
   branches/nw-interface/src/jar/itql/java/org/mulgara/itql/ItqlInterpreterBean.java
Log:
fixed up error output to better match the original output

Modified: branches/nw-interface/src/jar/itql/java/org/mulgara/itql/ItqlInterpreterBean.java
===================================================================
--- branches/nw-interface/src/jar/itql/java/org/mulgara/itql/ItqlInterpreterBean.java	2007-11-15 06:28:52 UTC (rev 545)
+++ branches/nw-interface/src/jar/itql/java/org/mulgara/itql/ItqlInterpreterBean.java	2007-11-15 06:29:58 UTC (rev 546)
@@ -379,13 +379,13 @@
             } else {
               //Error has occurred at the interpreter
               //Generate a SOAP fault
-              // TODO REMOVE Constants.FAULT_CODE_SERVER,
               System.err.println("Generating a SOAP fault due to interpreter exception:");
               interpreter.getLastException().printStackTrace();
               log.error("Execute query failed.  Returning error", interpreter.getLastException());
               throw new SOAPException("ItqlInterpreter error - " +
-                  ItqlUtil.getCause(interpreter.getLastException(), 0) + EOL +
-                  "Query: [" + singleQuery + "]");
+                  ItqlUtil.getCause(interpreter.getLastException(), 0));
+              // TODO: consider adding + EOL + "Query: [" + singleQuery + "]");
+              // though must first consider impact on clients
             }
             // Ensure answer is null.
             answer = null;




More information about the Mulgara-svn mailing list