org.apache.axis2.jaxws
Class WebServiceExceptionLogger
java.lang.Object
org.apache.axis2.jaxws.WebServiceExceptionLogger
public class WebServiceExceptionLogger
- extends java.lang.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.
Method Summary |
static void |
log(java.lang.reflect.Method method,
java.lang.Throwable throwable,
boolean logFully,
java.lang.Class serviceImplClass,
java.lang.Object serviceInstance,
java.lang.Object[] args)
Logs an error if the exception thrown by @WebMethod m is not a checked exception. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebServiceExceptionLogger
public WebServiceExceptionLogger()
log
public static void log(java.lang.reflect.Method method,
java.lang.Throwable throwable,
boolean logFully,
java.lang.Class serviceImplClass,
java.lang.Object serviceInstance,
java.lang.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
Copyright © 2007 Apache Web Services Project. All Rights Reserved.