From acb3253679614162a591631eafe3168cf3319729 Mon Sep 17 00:00:00 2001
From: Peter Hormanns <peter.hormanns@hostsharing.net>
Date: Mon, 03 Oct 2011 11:42:08 +0200
Subject: [PATCH] Pruefung auf ungueltige Where-Parameter

---
 hsarback/src/de/hsadmin/cliClientConnector/CLIClientConnectorServlet.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hsarback/src/de/hsadmin/cliClientConnector/CLIClientConnectorServlet.java b/hsarback/src/de/hsadmin/cliClientConnector/CLIClientConnectorServlet.java
index 0d7d932..916a078 100644
--- a/hsarback/src/de/hsadmin/cliClientConnector/CLIClientConnectorServlet.java
+++ b/hsarback/src/de/hsadmin/cliClientConnector/CLIClientConnectorServlet.java
@@ -219,7 +219,7 @@
 					+ "(obj." + AbstractEntity.escapeString(kname) + " = '" + AbstractEntity.escapeString(where.get(k)) + "')";
 				first = false;
 			} else {
-				throw new ServletException("illegal input\nunknown field: " + k);
+				throw new ServletException("illegal input (unknown field: " + k + ")");
 			}
 		}
 

--
Gitblit v1.9.1