Main Page   Modules   Data Structures   File List   Data Fields   Globals  

incl/error_codes.h File Reference

general definitions about errors handling More...

Go to the source code of this file.

Defines

#define FATAL   0
#define WARNING   1
#define NONE   2
#define OK   0
#define UNKNOWN   -1
#define ERR_EOF   -2
#define ERR_BAD_PARAM   -3
#define ERR_NB_PARAM   -4
#define ERR_BAD_TYPE   -5
#define ERR_BAD_SIZE   -6
#define ERR_OPEN   -10
#define ERR_CREAT   -11
#define ERR_READ   -12
#define ERR_WRIT   -13
#define ERR_CLOSE   -14
#define ERR_ACCESS   -15
#define ERR_NAXIS   -20
#define ERR_NOIDENT   -21
#define ERR_OFFSET   -31
#define ERR_NODATA   -32
#define ERR_BAD_IMA   -41
#define ERR_IMA_BOUND   -42
#define ERR_IMA_EXT   -43
#define ERR_NOIMA   -44
#define ERR_DEL_IMA   -45
#define ERR_REN_IMA   -46
#define ERR_IMA_HEAD   -47
#define ERR_BAD_TBL   -51
#define ERR_TBL_EXT   -53
#define ERR_NOTBL   -54
#define ERR_DEL_TBL   -55
#define ERR_REN_TBL   -56
#define ERR_TBL_HEAD   -57
#define ERR_BAD_COL   -59
#define ERR_NOCOL   -60
#define ERR_COL_NUM   -62
#define ERR_ROW_NUM   -63
#define ERR_NODESC   -80
#define ERR_BAD_HEAD   -81
#define ERR_DEL_DESC   -82
#define ERR_BAD_DESC   -83
#define ERR_HEADER_SIZE   -85
#define ERR_BAD_CAT   -90
#define ERR_GRAPH_DEV   -100
#define ERR_ALLOC   -110
#define ERR_FREE   -111
#define ERR_OVERFLOW   -112
#define ERR_FORMAT   -113
#define ERR_NOIMPL   -130


Detailed Description

general definitions about errors handling

Author:
A.Rousset

Version:
1.0 1990-Jan-03 : Creation, AR
Copyright:
(c) 1992 Observatoire de Lyon - St Genis Laval (FRANCE)

Definition in file error_codes.h.


Define Documentation

#define FATAL   0
 

Definition at line 16 of file error_codes.h.

Referenced by Handle_Error().

#define WARNING   1
 

Definition at line 17 of file error_codes.h.

Referenced by Handle_Error().

#define NONE   2
 

Definition at line 18 of file error_codes.h.

Referenced by disable_user_warnings(), and Handle_Error().

#define OK   0
 

Definition at line 22 of file error_codes.h.

Referenced by get_tiger_errmsg().

#define UNKNOWN   -1
 

Definition at line 23 of file error_codes.h.

Referenced by get_tiger_errmsg().

#define ERR_EOF   -2
 

Definition at line 24 of file error_codes.h.

Referenced by get_tiger_errmsg().

#define ERR_BAD_PARAM   -3
 

Definition at line 25 of file error_codes.h.

Referenced by convert_datacube(), create_col(), create_table(), delete_E3D_group(), get_3D_slice_noalloc(), get_argval(), get_spectra_ID(), get_tiger_errmsg(), init_new_E3D_spec(), and put_E3D_slice().

#define ERR_NB_PARAM   -4
 

Definition at line 26 of file error_codes.h.

Referenced by get_tiger_errmsg(), and parse_arg().

#define ERR_BAD_TYPE   -5
 

Definition at line 27 of file error_codes.h.

Referenced by CP_non_std_desc(), create_col(), get_assoc_table_name(), get_tiger_errmsg(), open_E3D_file(), set_inputformat(), and set_outputformat().

#define ERR_BAD_SIZE   -6
 

Definition at line 28 of file error_codes.h.

Referenced by get_tiger_errmsg().

#define ERR_OPEN   -10
 

Definition at line 29 of file error_codes.h.

Referenced by convert_datacube(), create_table(), get_assoc_table_name(), get_tiger_errmsg(), header_cube(), header_frame(), header_spec(), load_3D_max(), open_cube(), open_E3D_file(), open_frame(), open_spec(), and open_table().

#define ERR_CREAT   -11
 

Definition at line 30 of file error_codes.h.

Referenced by convert_datacube(), create_E3D_file(), get_tiger_errmsg(), and save_3D_max().

#define ERR_READ   -12
 

Definition at line 31 of file error_codes.h.

Referenced by CP_non_std_desc(), extract_E3D_spec(), get_all_desc(), get_E3D_groups(), get_E3D_spaxels(), get_tiger_errmsg(), header_cube(), header_frame(), header_spec(), open_cube(), open_E3D_file(), open_frame(), open_spec(), and open_table().

#define ERR_WRIT   -13
 

Definition at line 32 of file error_codes.h.

Referenced by close_cube(), close_frame(), close_spec(), create_cube(), create_E3D_file(), create_frame(), create_spec(), create_table(), extract_E3D_spec(), get_tiger_errmsg(), put_E3D_spaxels(), save_E3D_slice(), and save_E3D_spec().

#define ERR_CLOSE   -14
 

Definition at line 33 of file error_codes.h.

Referenced by get_tiger_errmsg().

#define ERR_ACCESS   -15
 

Definition at line 34 of file error_codes.h.

Referenced by get_tiger_errmsg(), header_cube(), header_frame(), header_spec(), open_cube(), open_frame(), open_spec(), put_E3D_slice(), and put_E3D_spec().

#define ERR_NAXIS   -20
 

Definition at line 35 of file error_codes.h.

Referenced by get_tiger_errmsg().

#define ERR_NOIDENT   -21
 

Definition at line 36 of file error_codes.h.

Referenced by get_tiger_errmsg().

#define ERR_OFFSET   -31
 

Definition at line 37 of file error_codes.h.

Referenced by get_tiger_errmsg().

#define ERR_NODATA   -32
 

Definition at line 38 of file error_codes.h.

Referenced by get_common_param(), get_lenses_coord(), get_tiger_errmsg(), RD_tbl(), and save_E3D_slice().

#define ERR_BAD_IMA   -41
 

Definition at line 39 of file error_codes.h.

Referenced by get_tiger_errmsg().

#define ERR_IMA_BOUND   -42
 

Definition at line 40 of file error_codes.h.

Referenced by get_E3D_slice(), get_tiger_errmsg(), and set_subspec().

#define ERR_IMA_EXT   -43
 

Definition at line 41 of file error_codes.h.

Referenced by get_tiger_errmsg().

#define ERR_NOIMA   -44
 

Definition at line 42 of file error_codes.h.

Referenced by delete_E3D_spec(), delete_tiger_spec(), extract_E3D_spec(), get_E3D_groups(), get_E3D_spaxels(), get_tiger_errmsg(), and put_E3D_spaxels().

#define ERR_DEL_IMA   -45
 

Definition at line 43 of file error_codes.h.

Referenced by get_tiger_errmsg().

#define ERR_REN_IMA   -46
 

Definition at line 44 of file error_codes.h.

Referenced by get_tiger_errmsg().

#define ERR_IMA_HEAD   -47
 

Definition at line 45 of file error_codes.h.

Referenced by get_tiger_errmsg(), header_cube(), header_frame(), header_spec(), open_cube(), open_frame(), and open_spec().

#define ERR_BAD_TBL   -51
 

Definition at line 46 of file error_codes.h.

Referenced by get_tiger_errmsg().

#define ERR_TBL_EXT   -53
 

Definition at line 47 of file error_codes.h.

Referenced by close_E3D_file(), get_tiger_errmsg(), and open_E3D_file().

#define ERR_NOTBL   -54
 

Definition at line 48 of file error_codes.h.

Referenced by get_tiger_errmsg(), and open_table().

#define ERR_DEL_TBL   -55
 

Definition at line 49 of file error_codes.h.

Referenced by get_tiger_errmsg().

#define ERR_REN_TBL   -56
 

Definition at line 50 of file error_codes.h.

Referenced by create_col(), create_table(), and get_tiger_errmsg().

#define ERR_TBL_HEAD   -57
 

Definition at line 51 of file error_codes.h.

Referenced by get_tiger_errmsg().

#define ERR_BAD_COL   -59
 

Definition at line 52 of file error_codes.h.

Referenced by close_E3D_file(), create_col(), extract_E3D_slice(), extract_E3D_spec(), get_tiger_errmsg(), and open_E3D_file().

#define ERR_NOCOL   -60
 

Definition at line 53 of file error_codes.h.

Referenced by create_col(), get_col_ref(), get_ID_and_coordinates(), get_lens_coordinates(), get_lenses_coord(), get_lenses_coord_select(), get_lenses_no_from_table(), get_tiger_errmsg(), and set_lens_coordinates().

#define ERR_COL_NUM   -62
 

Definition at line 54 of file error_codes.h.

Referenced by get_tiger_errmsg().

#define ERR_ROW_NUM   -63
 

Definition at line 55 of file error_codes.h.

Referenced by get_tiger_errmsg().

#define ERR_NODESC   -80
 

Definition at line 56 of file error_codes.h.

Referenced by get_descr_type(), get_tiger_errmsg(), and Read_one_desc().

#define ERR_BAD_HEAD   -81
 

Definition at line 57 of file error_codes.h.

Referenced by get_tiger_errmsg(), and open_table().

#define ERR_DEL_DESC   -82
 

Definition at line 58 of file error_codes.h.

Referenced by get_tiger_errmsg().

#define ERR_BAD_DESC   -83
 

Definition at line 59 of file error_codes.h.

Referenced by delete_desc(), get_tiger_errmsg(), RD_desc(), Read_one_desc(), and WR_desc().

#define ERR_HEADER_SIZE   -85
 

Definition at line 60 of file error_codes.h.

Referenced by get_tiger_errmsg().

#define ERR_BAD_CAT   -90
 

Definition at line 61 of file error_codes.h.

Referenced by get_tiger_errmsg(), and RD_catalog().

#define ERR_GRAPH_DEV   -100
 

Definition at line 62 of file error_codes.h.

Referenced by get_tiger_errmsg().

#define ERR_ALLOC   -110
 

Definition at line 63 of file error_codes.h.

Referenced by alloc_3D_max(), alloc_slice_mem(), get_E3D_frame(), get_tiger_errmsg(), init_new_tiger_slice(), load_3D_max(), open_cube(), open_frame(), and open_spec().

#define ERR_FREE   -111
 

Definition at line 64 of file error_codes.h.

Referenced by get_tiger_errmsg().

#define ERR_OVERFLOW   -112
 

Definition at line 65 of file error_codes.h.

Referenced by get_tiger_errmsg().

#define ERR_FORMAT   -113
 

Definition at line 66 of file error_codes.h.

Referenced by close_E3D_file(), create_E3D_file(), extract_E3D_slice(), extract_E3D_spec(), get_E3D_groups(), get_E3D_spaxels(), get_tiger_errmsg(), open_E3D_file(), put_E3D_spaxels(), save_E3D_slice(), and save_E3D_spec().

#define ERR_NOIMPL   -130
 

Definition at line 67 of file error_codes.h.

Referenced by delete_row(), get_E3D_frame(), and get_tiger_errmsg().


Generated on Tue Jul 1 17:35:46 2003 for IFU_C_iolibs by doxygen1.3