dca_interface  6.3.4
DCA Generic Error Codes

Introduction

A list of available generic error codes of the DCA API.

If a more detailed error code is not available you will receive one of these codes on any DCA function which encounters an error.

The detailed error codes of a function are available in the related detailed function description.

Variables

const int dca::ERR_NOT_INITIALIZED
 If you e.g. forget to initialize an instance before using a member function this error will be returned.
 
const int dca::ERR_CREATION
 An error occured when attempting too create a class or instance in the DCA API.
 
const int dca::ERR_PARAMS
 One or more parameter values is invalid, or a combination of parameter values is invalid.
 
const int dca::ERR_CONNECTION
 This error may occur whenever a DCA function or class attempts to connect to a local or remote resource.
Usually you should retry the operation several times before finally quitting, as the resource may only be temporarily unavailable.
 
const int dca::ERR_CONNECTION_PROXY
 This error may occur whenever a DCA function or class attempts to connect to a remote resource via a proxy. Please check your proxy settings, and try again.
 
const int dca::ERR_CONNECTION_TIMEOUT
 This error may occur whenever a DCA function or class attempts to connect to a remote resource.
Usually you should retry the operation several times before finally quitting, as the resource may only be temporarily unavailable.
 
const int dca::ERR_MEMORY_SHORTAGE
 This error is returned whenever it was not possible to allocate a required amount of memory.
To solve this issue, try to de-allocate some other resouces if possible.
 
const int dca::ERR_SIG_ABORT_DETECTED
 This code is returned when you use the dca::DcaInstance::signal() call and a task is terminated as a reaction on this.
 
const int dca::ERR_NOT_LICENSED
 This code is returned if the specified license data is invalid, or the license has expired.
 
const int dca::ERR_UNEXPECTED
 This error is returned if an unexpcted error occurs. This should never happen, but if it does occur, you should restart your application.
 
const int dca::ERR_WRAPPER_UNEXPECTED
 The DCA consists of a wrapper layer that makes function calls on the dynamically loaded shared objects of the DCA modules. If an error occurs on this wrapper layer ERR_WRAPPER_UNEXPECTED will be returned.