Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.6)

Part Number E13941-07

weblogic.wsee.reliability
Interface ReliabilityErrorContext


public interface ReliabilityErrorContext

Provides details of a reliability failure.


Method Summary
 AsyncPostCallContext getAsyncPostCallContext()
           
 ReliableDeliveryException getFault()
          Deprecated. Use getFaults() instead
 List<Throwable> getFaults()
          Returns a list of Throwables that describe all the errors that caused the reliable delivery to fail.
 String getFaultSummaryMessage()
          Returns a summary message containing a summary of all the errors the caused this reliable delivery to fail.
 String getOperationName()
           
 SOAPMessage getSOAPMessage()
           
 String getTargetName()
           
 

Method Detail

getOperationName

String getOperationName()
Returns:
The operation that caused the failure

getTargetName

String getTargetName()
Returns:
The stub that caused the failure

getSOAPMessage

SOAPMessage getSOAPMessage()
Returns:
The SOAP message that was being sent when the failure happened.

getFault

ReliableDeliveryException getFault()
Deprecated. Use getFaults() instead

Returns a single ReliableDeliveryException containing a message that describes the fault that caused this context to be created and delivered. The returned exception is not the 'original' exception that caused the reliable delivery to fail, but rather a manufactured exception with the error message in it. For this reason, you should use getFaults() instead, as this method returns the actual exceptions that caused the failure.

Returns:
A description of the failure

getFaults

List<Throwable> getFaults()
Returns a list of Throwables that describe all the errors that caused the reliable delivery to fail. If you'd like to have a summary message instead of a list of Throwables, use the getFaultSummaryMessage() method. This method will never return null, but may be empty if no original exception is available.


getFaultSummaryMessage

String getFaultSummaryMessage()
Returns a summary message containing a summary of all the errors the caused this reliable delivery to fail. This method will never return null and will always return some descriptive information about the error.


getAsyncPostCallContext

AsyncPostCallContext getAsyncPostCallContext()
Returns:
The user-defined context properties passed in as AsyncPreCallContext to the original async invoke that sent the message being sent when the failure happened.

Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.6)

Part Number E13941-07