Class MethodMarshallerUtils


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

      • 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 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: