cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From asold...@apache.org
Subject svn commit: r796997 - /cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/WSDLValidator.java
Date Thu, 23 Jul 2009 09:59:53 GMT
Author: asoldano
Date: Thu Jul 23 09:59:52 2009
New Revision: 796997

URL: http://svn.apache.org/viewvc?rev=796997&view=rev
Log:
[CXF-2351]

Modified:
    cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/WSDLValidator.java

Modified: cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/WSDLValidator.java
URL: http://svn.apache.org/viewvc/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/WSDLValidator.java?rev=796997&r1=796996&r2=796997&view=diff
==============================================================================
--- cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/WSDLValidator.java
(original)
+++ cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/WSDLValidator.java
Thu Jul 23 09:59:52 2009
@@ -83,23 +83,23 @@
                 }
             }
         } catch (ToolException ex) {
-            System.err.println("WSDLValidator Error : " + ex.getMessage());
+            err.println("WSDLValidator Error : " + ex.getMessage());
             if (ex.getCause() instanceof BadUsageException) {
                 printUsageException(TOOL_NAME, (BadUsageException)ex.getCause());
             }
-            System.err.println();
+            err.println();
             if (isVerboseOn()) {
-                System.err.println("[+] Verbose turned on");
-                System.err.println();                
-                ex.printStackTrace();
+                err.println("[+] Verbose turned on");
+                err.println();                
+                ex.printStackTrace(err);
             }
         } catch (Exception ex) {
-            System.err.println("WSDLValidator Error : " + ex.getMessage());
-            System.err.println();
+            err.println("WSDLValidator Error : " + ex.getMessage());
+            err.println();
             if (isVerboseOn()) {
-                System.err.println("[+] Verbose turned on");
-                System.err.println();
-                ex.printStackTrace();
+                err.println("[+] Verbose turned on");
+                err.println();
+                ex.printStackTrace(err);
             }
         }
     }



Mime
View raw message