org.apache.axis2.jaxws.marshaller.impl.alt
Class MethodMarshallerUtils

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

public class MethodMarshallerUtils
extends java.lang.Object

Static Utilty Classes used by the MethodMarshaller implementations in the alt package.


Method Summary
static ProtocolException createSystemException(XMLFault xmlFault, Message message)
          Create a system exception
static XMLFault createXMLFaultFromSystemException(java.lang.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
static java.lang.String stackToString(java.lang.Throwable e)
          Get a string containing the stack of the specified exception
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createXMLFaultFromSystemException

public static XMLFault createXMLFaultFromSystemException(java.lang.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 java.lang.String stackToString(java.lang.Throwable e)
Get a string containing the stack of the specified exception

Parameters:
e -
Returns:


Copyright © 2007 Apache Web Services Project. All Rights Reserved.