cta_errors.h File Reference

Definitions of error return values used by COSTA. More...

Go to the source code of this file.

Defines

#define CTA_OK   ( 0)
#define CTA_ILLEGAL_HANDLE   (-2)
#define CTA_INCOMPATIBLE_HANDLE   (-3)
#define CTA_HANDLE_NOT_FOUND   (-4)
#define CTA_ARRAY_TOO_SHORT   (10)
#define CTA_ILLEGAL_DATATYPE   (11)
#define CTA_DIMENSION_ERROR   (12)
#define CTA_INCOMPATIBLE_VECTORS   (13)
#define CTA_CONCAT_NOT_POSSIBLE   (14)
#define CTA_SETVAL_NOT_POSSIBLE   (15)
#define CTA_ITEM_NOT_FOUND   (16)
#define CTA_UNINITIALISED_SUBTREEVECTOR   (17)
#define CTA_TREEVECTORS_NOT_COMPATIBLE   (18)
#define CTA_INCOMPATIBLE_MATRICES   (19)
#define CTA_NOT_IMPLEMENTED   (20)
#define CTA_WRONG_USERDATA   (21)
#define CTA_CANNOT_OPEN_FILE   (22)
#define CTA_INVALID_COMMAND   (23)
#define CTA_EXTERNAL_ERROR   (24)
#define CTA_SINGULAR_MATRIX   (25)
#define CTA_BUFFER_TOO_SMALL   (26)
#define CTA_FORMAT_NOT_SUPPORTED   (27)
#define CTA_INCOMPATIBLE_METAINFO   (28)
#define CTA_COMBINED_MODEL_ERROR   (29)
#define CTA_ANNOUNCED_OBS_INTERVAL_ERROR   (30)
#define CTA_INPUT_OBJECT_NOT_SUPPORTED   (31)
#define CTA_INPUT_OBJECTS_ARE_INCOMPATIBLE   (32)
#define CTA_RELTABLES_CANNOT_BE_COMBINED   (33)
#define CTA_MATRIX_IS_NOT_SQUARE   (34)
#define CTA_ILLEGAL_INPUT_ARGUMENT   (34)
#define CTA_CANNOT_FIND_PROCESS_GROUP   (35)
#define CTA_JNI_INTERFACING_ERROR   (36)
#define CTA_RESULTWRITER_ERROR   (37)
#define CTA_INTERNAL_ERROR   (911)
#define CTA_NOT_YET_SUPPORTED   (999)

Detailed Description

Definitions of error return values used by COSTA.

Definition in file cta_errors.h.


Define Documentation

#define CTA_ANNOUNCED_OBS_INTERVAL_ERROR   (30)

The announced observations do not fit into timespan of compute

Definition at line 81 of file cta_errors.h.

#define CTA_ARRAY_TOO_SHORT   (10)

Output array is too short to contain result

Definition at line 41 of file cta_errors.h.

#define CTA_BUFFER_TOO_SMALL   (26)

The buffer length is too small

Definition at line 73 of file cta_errors.h.

#define CTA_CANNOT_FIND_PROCESS_GROUP   (35)

Cannot find the process group

Definition at line 96 of file cta_errors.h.

#define CTA_CANNOT_OPEN_FILE   (22)

Opening of file failed

Definition at line 65 of file cta_errors.h.

#define CTA_COMBINED_MODEL_ERROR   (29)

The combined model is invalid

Definition at line 79 of file cta_errors.h.

#define CTA_CONCAT_NOT_POSSIBLE   (14)

The concatenation operation is not possible

Definition at line 49 of file cta_errors.h.

#define CTA_DIMENSION_ERROR   (12)

Dimensions of the component are different from input

Definition at line 45 of file cta_errors.h.

#define CTA_EXTERNAL_ERROR   (24)

Error in external library

Definition at line 69 of file cta_errors.h.

#define CTA_FORMAT_NOT_SUPPORTED   (27)

The import/export format is not supported

Definition at line 75 of file cta_errors.h.

#define CTA_HANDLE_NOT_FOUND   (-4)

A handle of a COSTA component cannot be found in administration

Definition at line 39 of file cta_errors.h.

#define CTA_ILLEGAL_DATATYPE   (11)

The datatype does not exist or is not supported

Definition at line 43 of file cta_errors.h.

#define CTA_ILLEGAL_HANDLE   (-2)

The handle of a COSTA component is not associated to any COSTA component nor is it the CTA_NULL handle.

Definition at line 34 of file cta_errors.h.

#define CTA_ILLEGAL_INPUT_ARGUMENT   (34)

The input value is not correct

Definition at line 93 of file cta_errors.h.

#define CTA_INCOMPATIBLE_HANDLE   (-3)

A handle of a COSTA component instance corresponds to a different component than expected

Definition at line 37 of file cta_errors.h.

#define CTA_INCOMPATIBLE_MATRICES   (19)

The operation is not (yet) supported for given combination of matrix-classes

Definition at line 59 of file cta_errors.h.

#define CTA_INCOMPATIBLE_METAINFO   (28)

The metainfo of two treevectors is incompatible

Definition at line 77 of file cta_errors.h.

#define CTA_INCOMPATIBLE_VECTORS   (13)

The operation is not (yet) supported for given combination of vectors-classes

Definition at line 47 of file cta_errors.h.

#define CTA_INPUT_OBJECT_NOT_SUPPORTED   (31)

Operation is not (yet) implemented for given object

Definition at line 84 of file cta_errors.h.

#define CTA_INPUT_OBJECTS_ARE_INCOMPATIBLE   (32)

Input arguments are of incompatible data type

Definition at line 86 of file cta_errors.h.

#define CTA_INTERNAL_ERROR   (911)

Hmm. you have found an internal error in the COSTA implementation

Definition at line 103 of file cta_errors.h.

#define CTA_INVALID_COMMAND   (23)

Command is not valid

Definition at line 67 of file cta_errors.h.

#define CTA_ITEM_NOT_FOUND   (16)

Requested item not found

Definition at line 53 of file cta_errors.h.

#define CTA_JNI_INTERFACING_ERROR   (36)

Some JNI-interface error

Definition at line 99 of file cta_errors.h.

#define CTA_MATRIX_IS_NOT_SQUARE   (34)

The matrix is not square

Definition at line 90 of file cta_errors.h.

#define CTA_NOT_IMPLEMENTED   (20)

There is no implementation available for this method

Definition at line 61 of file cta_errors.h.

#define CTA_NOT_YET_SUPPORTED   (999)

You tried to do something that should work but has not been implemented yet in COSTA. Please implement and help improving COSTA

Definition at line 106 of file cta_errors.h.

#define CTA_OK   ( 0)

No errors occured

Definition at line 31 of file cta_errors.h.

#define CTA_RELTABLES_CANNOT_BE_COMBINED   (33)

The relation tables cannot be combined

Definition at line 88 of file cta_errors.h.

#define CTA_RESULTWRITER_ERROR   (37)

Definition at line 100 of file cta_errors.h.

#define CTA_SETVAL_NOT_POSSIBLE   (15)

The setval operation is not possible

Definition at line 51 of file cta_errors.h.

#define CTA_SINGULAR_MATRIX   (25)

The matrix is singular

Definition at line 71 of file cta_errors.h.

#define CTA_TREEVECTORS_NOT_COMPATIBLE   (18)

Operation between two different treevectors is not possible because build-up/dimension is different

Definition at line 57 of file cta_errors.h.

#define CTA_UNINITIALISED_SUBTREEVECTOR   (17)

Trying to access an non-initialised subtreevector

Definition at line 55 of file cta_errors.h.

#define CTA_WRONG_USERDATA   (21)

Illegal specification of userdata argument

Definition at line 63 of file cta_errors.h.


Generated on 4 Mar 2014 for OpenDA by  doxygen 1.6.1