Class MethodMarshallerUtils

java.lang.Object
org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtils

public class MethodMarshallerUtils extends Object
Static Utilty Classes used by the MethodMarshaller implementations in the alt package.
  • Method Details

    • createXMLFaultFromSystemException

      public static XMLFault createXMLFaultFromSystemException(Throwable t)
      This method is used by WebService Impl and Provider to create an XMLFault (for marshalling) from an exception that is a non-service exception
      Parameters:
      t - Throwable that represents a Service Exception
      Returns:
      XMLFault
    • createSystemException

      public static jakarta.xml.ws.ProtocolException createSystemException(XMLFault xmlFault, Message message)
      Create a system exception
      Parameters:
      message -
      Returns:
    • stackToString

      public static String stackToString(Throwable e)
      Get a string containing the stack of the specified exception
      Parameters:
      e -
      Returns: