org.apache.axis2.jaxws
Class WebServiceExceptionLogger

java.lang.Object
  extended by 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
WebServiceExceptionLogger()
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebServiceExceptionLogger

public WebServiceExceptionLogger()
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 implementation
serviceInstance -
args - Object[] arguments pass to method


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.