Package org.apache.axis2.jaxws
Class WebServiceExceptionLogger
- java.lang.Object
-
- org.apache.axis2.jaxws.WebServiceExceptionLogger
-
public class WebServiceExceptionLogger extends Object
Controls error logging of exceptions thrown by the WebService application (provider, impl, etc.) This class logs errors for all non-checked exceptions. This class logs extensive debug information for all exceptions.
-
-
Constructor Summary
Constructors Constructor Description WebServiceExceptionLogger()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
log(Method method, Throwable throwable, boolean logFully, Class serviceImplClass, Object serviceInstance, Object[] args)
Logs an error if the exception thrown by @WebMethod m is not a checked exception.
-
-
-
Method Detail
-
log
public static void log(Method method, Throwable throwable, boolean logFully, Class serviceImplClass, Object serviceInstance, Object[] args)
Logs an error if the exception thrown by @WebMethod m is not a checked exception. If debug logging is enabled, all exceptions are logged.- Parameters:
method
-throwable
-logFully
- (if true then the exception is logged, otherwise only the class and stack is logged)serviceImplClass
- class of service implementationserviceInstance
-args
- Object[] arguments pass to method
-
-