org.apache.axis2.util
Class MessageContextBuilder
java.lang.Object
org.apache.axis2.util.MessageContextBuilder
public class MessageContextBuilder
- extends Object
Field Summary |
protected static org.apache.commons.logging.Log |
log
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final org.apache.commons.logging.Log log
MessageContextBuilder
public MessageContextBuilder()
createOutMessageContext
public static MessageContext createOutMessageContext(MessageContext inMessageContext)
throws AxisFault
- Creates a MessageContext for use with a non-fault response based on an request MessageContext
- Throws:
AxisFault
createFaultMessageContext
public static MessageContext createFaultMessageContext(MessageContext processingContext,
Throwable e)
throws AxisFault
- This method is called to handle any error that occurs at inflow or outflow. But if the
method is called twice, it implies that sending the error handling has failed, in which case
the method logs the error and exits.
- Throws:
AxisFault
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.