public interface JCoServerFunctionHandler
FunctionHandler
annotation.Modifier and Type | Method and Description |
---|---|
void |
handleRequest(JCoServerContext serverCtx,
JCoFunction function)
The method invoked by the JCo server runtime to dispatch the remote function call.
|
void handleRequest(JCoServerContext serverCtx, JCoFunction function) throws AbapException, AbapClassException
RuntimeException
, it will be handled as SYSTEM_FAILURE.
An AbapException
or AbapClassException
should be used for
signaling exceptional cases within the function module's application logic.serverCtx
- context description in which the function was invokedfunction
- function instance containing the call content and which shall be modified
and filled by the application with the response dataAbapException
- may be thrown by the implementation to inform the caller
system about an exceptional situation within the application logic.AbapClassException
- may be thrown by the implementation to inform the caller
system about an exceptional situation within the application logic. This kind
of exception only makes sense if the calling system supports it, which is
at earliest possible for an ABAP system of release 7.20.Copyright © 2024 SAP. All rights reserved.