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 Details

    • WebServiceExceptionLogger

      public WebServiceExceptionLogger()
  • Method Details

    • 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