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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProtocolException
createSystemException(XMLFault xmlFault, Message message)
Create a system exceptionstatic 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 exceptionstatic String
stackToString(Throwable e)
Get a string containing the stack of the specified exception
-
-
-
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:
-
-