Author: alessio.soldano(a)jboss.com
Date: 2013-02-24 13:16:31 -0500 (Sun, 24 Feb 2013)
New Revision: 527
Modified:
core/trunk/core/src/main/java/org/jboss/wise/core/client/impl/reflection/WSMethodImpl.java
Log:
Minor logging issue
Modified:
core/trunk/core/src/main/java/org/jboss/wise/core/client/impl/reflection/WSMethodImpl.java
===================================================================
---
core/trunk/core/src/main/java/org/jboss/wise/core/client/impl/reflection/WSMethodImpl.java 2013-02-19
15:52:17 UTC (rev 526)
+++
core/trunk/core/src/main/java/org/jboss/wise/core/client/impl/reflection/WSMethodImpl.java 2013-02-24
18:16:31 UTC (rev 527)
@@ -34,6 +34,8 @@
import javax.jws.WebParam;
import net.jcip.annotations.Immutable;
import net.jcip.annotations.ThreadSafe;
+
+import org.apache.log4j.Logger;
import org.jboss.wise.core.client.InvocationResult;
import org.jboss.wise.core.client.WSEndpoint;
import org.jboss.wise.core.client.WSMethod;
@@ -89,8 +91,7 @@
}
} catch (Exception ite) {
- System.out.print("error invoking:" + this.getMethod());
- System.out.print("error invoking:" + args.values().toArray());
+ Logger.getLogger(WSMethodImpl.class).info("Error invoking method " +
this.getMethod() + ", arguments: " + args != null ? args.values().toArray() :
null);
// if (methodPointer != null && methodPointer.getExceptionTypes() != null) {
// for (int i = 0; i < methodPointer.getExceptionTypes().length; i++) {
// Class<?> excType = methodPointer.getExceptionTypes()[i];
Show replies by date