From f0637352f12faed2727ee6dcd4661835bf9e2c40 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Mon, 29 Jun 2015 10:00:08 -0400 Subject: Cleaned up SystemConfigService.validateRequest(). The configure() in SystemConfigService method has been modified to log only the error message in normal responses but log the full stack trace when unexpected issues occur. The validateData() in SystemConfigService has been renamed to validateRequest() for clarity. The log messages have been modified to include the invalid values entered in the request. --- .../functional/src/com/netscape/cms/servlet/test/ConfigurationTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'base/common/functional/src') diff --git a/base/common/functional/src/com/netscape/cms/servlet/test/ConfigurationTest.java b/base/common/functional/src/com/netscape/cms/servlet/test/ConfigurationTest.java index bf4dc8928..69994fa38 100644 --- a/base/common/functional/src/com/netscape/cms/servlet/test/ConfigurationTest.java +++ b/base/common/functional/src/com/netscape/cms/servlet/test/ConfigurationTest.java @@ -76,7 +76,7 @@ public class ConfigurationTest { System.exit(1); } - public static void main(String args[]) throws NoSuchAlgorithmException, TokenException, IOException, InvalidBERException { + public static void main(String args[]) throws Exception { String host = null; String port = null; String cstype = null; -- cgit