OpenTP1 Version 7 Programming Reference C Language
This section explains errors returned from the OpenTP1 TxRPC system service.
The table below lists TxRPC error codes. The table also describes the equivalent return values returned from the function dc_rpc_call(). When you create error handling processing for IDL-only TxRPC, see the description of these equivalent return values for reference.
Table 6-1 TxRPC error codes
Error code | Meaning |
---|---|
txrpc_x_not_in_transaction | The operation with transaction_mandatory specified was called from outside a global transaction. |
txrpc_x_no_tx_open_done | When the manager was called with an OpenTP1 TxRPC system service, the operation was executed although the function tx_open() was not called. |
DCTRPER_PROTO | A protocol error occurred. |
rpc_s_comm_failure | A communication-related error occurred. Equivalent to the following return values of the function dc_rpc_call():
|
rpc_s_no_memory | Memory became insufficient. Equivalent to the following return value of the function dc_rpc_call():
|
rpc_s_fault_remote_no_memory | Server memory became insufficient. Equivalent to the following return values of the function dc_rpc_call():
|
rpc_s_call_timeout | A timeout occurred. Equivalent to the following return value of the function dc_rpc_call():
|
rpc_s_in_args_too_big | A value specified for an argument is too big. Equivalent to the following return value of the function dc_rpc_call():
|
rpc_s_entry_not_found | No service entry found. Equivalent to the following return values of the function dc_rpc_call():
|
rpc_s_mgmt_op_disallowed | The server is a socket reception server, and it cannot receive the service request. Or the server is protected with the OpenTP1 security facility, and the client has no access to the server. Equivalent to the following return value of the function dc_rpc_call():
|
rpc_s_binding_has_no_auth | The server is using the OpenTP1 security facility. An access error occurred with the security facility. Equivalent to the following return value of the function dc_rpc_call():
|
rpc_s_fault_unspec | In an OpenTP1 system, an error equivalent to one of the following return values of the function dc_rpc_call() occurred.
|
rpc_s_unknown_stub_rtl_if_vers | Version in the OpenTP1 library is different. |
rpc_s_unknown_if | Version in the interface definition is different. |
All Rights Reserved. Copyright (C) 2006, 2010, Hitachi, Ltd.