commonj.connector.runtime
Interface FaultBinding

All Known Subinterfaces:
FaultDataBinding

public interface FaultBinding

The FaultBinding allows the adapter to provide fault support for services. The FaultBinding interface is not specific to Data Objects or Records and is inteded to be used with either data representation. The fault itself can be represented by either the FultException or an arbitrary array of objects.

Since:
1.1

Method Summary
 void setFaultData(FaultException faultData)
          Set the fault exception on the binding object.
 void setFaultData(Object[] faultData)
          Set the fault data on the binding object.
 

Method Detail

setFaultData

void setFaultData(FaultException faultData)
Set the fault exception on the binding object.

Parameters:
faultData - - A FaultException returned from the Adatper's execute method.

setFaultData

void setFaultData(Object[] faultData)
Set the fault data on the binding object. This method can be used by bindings not supporting CCI.

Parameters:
faultData - - A set objects representing the Fault Data