Error Code | Type | Description | |
0 | SWLIB_E_SUCCESS | The function is successfully executed. | |
1 | SWLIB_E_INTERNAL | An error occurred that does not fit into any of the other codes categories. Normally, this is an internal error. | |
2 | SWLIB_E_IS_CLIENT | Returned by SwServer if SwCall was called before, indicating the application is a client. | |
3 | SWLIB_E_CALLED_TWICE | Indicates that a function is called twice. Returned by SwServer or SwArguments. | |
4 | SWLIB_E_NO_CALLBACKS | Indicates that mandatory callback functions are not registered when SwServer is called. | |
5 | SWLIB_E_BAD_DLL | Indicates that some mandatory functions are not implemented in the libraries. If the libraries provide only a client implementation, the server functions also return this error code. | |
6 | SWLIB_E_ACCESS_DLL | A library cannot be loaded, either because the access rights are not correctly set, or because the library does not exist, or because the loaded file is not a library. | |
7 | SWLIB_E_ACCESS_CFG | The given category refers to one or more configuration files. This error code is returned when at least one configuration file cannot be read, either because the access rights are not correctly set, or because one or more files do not exist. | |
8 | SWLIB_E_NO_VERSION | The given category has no corresponding libraries. | |
9 | SWLIB_E_FORMAT_CFG | One or more configuration files do not have the expected format. | |
10 | SWLIB_E_FORMAT_ARG | Returned only by SwArguments: some arguments do not have the correct format. | |
11 | SWLIB_E_PREVIOUS_ERROR | The call of the function is rejected because a previous operation failed and returned an error. | |
12 | SWLIB_E_RMI_ERROR | An internal error has occurred because the RMI Registry is not initialized when the WmSWIFTNet Server or SWIFTNet Client process instance tries to bind to it. If this occurs, increase the values for the following properties in the rmiconfig.properties file: | |
Property | Description | ||
#retryCount | Specifies the number of times the SWIFTNet server or client process will attempt to locate and bind itself to the RMI Registry before throwing an RMI Registry connection error. The default value is 15. | ||
#retryInterval | The time the SWIFTNet server or client process will wait before each attempt to locate and bind itself to the RMI Registry. The default value is 1000 milliseconds. | ||
The rmiconfig.properties file for the SWIFTNetClient is located in packages\WmSWIFTNetClient\config The rmiconfig.properties file for the SWIFTNetServer is located in packages\WmSWIFTNetServer\config |