Web Dynpro API Documentation

com.sap.tc.webdynpro.modelimpl.rfcadapter
Class WDExecuteRFCException

com.sap.tc.webdynpro.progmodel.model.api.WDModelException
  |
  +--com.sap.tc.webdynpro.modelimpl.rfcadapter.WDRFCException
        |
        +--com.sap.tc.webdynpro.modelimpl.rfcadapter.WDExecuteRFCException
Direct Known Subclasses:
WDDynamicRFCExecuteException

public class WDExecuteRFCException
extends WDRFCException

Thrown when the execution of an RFC fails.

Version:
$Id: //tc/WebDynproRuntime/630_VAL_REL/src/_webdynpro_modelimpl/java/com/sap/tc/webdynpro/modelimpl/rfcadapter/WDExecuteRFCException.java#1 $

Fields inherited from class com.sap.tc.webdynpro.modelimpl.rfcadapter.WDRFCException
RFCADAPTERCLASS_LIST_WRONG_ELEMENT_TYPE
 
Fields inherited from class com.sap.tc.webdynpro.progmodel.model.api.WDModelException
MODEL_ALREADY_EXIST_IN_SCOPE, MODEL_ALREADY_EXIST_WITH_INSTANCEID, MODEL_NOT_COMPATIBLE_FOR_CREATION_BY_WDMODELFACTORY, MODEL_SCOPE_CANT_BE_NULL, MODELCLASS_LIST_ALLOWED_TYPE, MODELCLASS_LIST_WRONG_ELEMENT_TYPE
 
Constructor Summary
WDExecuteRFCException(java.lang.String messageText)
          Creates a web dynpro RFC Execution exception
WDExecuteRFCException(java.lang.String messageText, java.lang.Object[] parameters)
          Creates a web dynpro RFC Execution exception
WDExecuteRFCException(java.lang.String messageText, java.lang.Object[] parameters, java.lang.Throwable reason)
          Creates a web dynpro RFC Execution exception
WDExecuteRFCException(java.lang.String messageText, java.lang.Throwable reason)
          Creates a web dynpro RFC Execution exception
WDExecuteRFCException(java.lang.Throwable reason)
          Creates a web dynpro RFC Execution exception
 
Method Summary
 com.sap.aii.proxy.framework.core.BaseType getFault()
          Returns the object carrying the fault information resulting from the backend exception raised.
 java.lang.String getMessage()
          Returns the expanded message text of the fault returned by the backend.
 

Constructor Detail

WDExecuteRFCException

public WDExecuteRFCException(java.lang.String messageText)
Creates a web dynpro RFC Execution exception

WDExecuteRFCException

public WDExecuteRFCException(java.lang.String messageText,
                             java.lang.Throwable reason)
Creates a web dynpro RFC Execution exception

WDExecuteRFCException

public WDExecuteRFCException(java.lang.Throwable reason)
Creates a web dynpro RFC Execution exception

WDExecuteRFCException

public WDExecuteRFCException(java.lang.String messageText,
                             java.lang.Object[] parameters)
Creates a web dynpro RFC Execution exception

WDExecuteRFCException

public WDExecuteRFCException(java.lang.String messageText,
                             java.lang.Object[] parameters,
                             java.lang.Throwable reason)
Creates a web dynpro RFC Execution exception
Method Detail

getMessage

public java.lang.String getMessage()
Returns the expanded message text of the fault returned by the backend.

getFault

public com.sap.aii.proxy.framework.core.BaseType getFault()
Returns the object carrying the fault information resulting from the backend exception raised. the returned object must be cast to the appropriate FaultType to access specific Fault properties. See the specific RFC-Method in the _PortType class of your RFC Adapter's proxy package to determine which faults can be raised. must be replayed by the specific name of the RFC Adapter's Port_Type class.

Web Dynpro API Documentation

Copyright © 2004 SAP AG. Automatically generated Thu Mar 3 2005, 22:15