Main Page | Class List | File List | Class Members | File Members | Related Pages

ut_error.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *            ut_error.h
00003  *
00004  *  Tue Oct  5 11:27:59 2004
00005  *  Copyright  2004  Alliance MCA
00006  *  Written by : Antoine Calando (antoine@alliancemca.net)
00007  ****************************************************************************/
00008 
00009 /*
00010  *  This program is free software; you can redistribute it and/or modify
00011  *  it under the terms of the GNU General Public License as published by
00012  *  the Free Software Foundation; either version 2 of the License, or
00013  *  (at your option) any later version.
00014  *
00015  *  This program is distributed in the hope that it will be useful,
00016  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00017  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00018  *  GNU Library General Public License for more details.
00019  *
00020  *  You should have received a copy of the GNU General Public License
00021  *  along with this program; if not, write to the Free Software
00022  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00023  */
00024  
00032 #ifndef _UT_ERROR_H_
00033 #define _UT_ERROR_H_
00034  
00035 typedef enum {
00036         UT_OK=0,
00037         UT_INTERRUPTED_BY_USER,
00038         UT_ERROR,
00039         //UT_SIZE_MISSING,
00040         UT_NOT_FOUND_ERROR,
00041         //UT_UTF8_RECOGNIZED,
00042 
00043         UT_MALLOC_ERROR=100,
00044         UT_OPEN_FILE_ERROR,
00045         UT_CLOSE_FILE_ERROR,
00046         UT_FSTAT_FILE_ERROR,
00047         UT_READ_FILE_ERROR,
00048         UT_READ_FILE_ERROR2,
00049         UT_FILE_TOO_BIG_ERROR,
00050 
00051         UT_ALREADY_INITIALISED_ERROR=200,
00052         UT_SYNTAX_ERROR=210,
00053         UT_STRING_MISSING_ERROR,
00054         UT_LANG_SYS_ALREADY_DEFINED_ERROR,
00055         UT_LANG_SYS_CODE_MISSING_ERROR,
00056         UT_PARTIAL_LANG_SYS_CODE_ERROR,
00057         UT_LANG_SYS_NAME_MISSING_ERROR,
00058         UT_LANG_SYS_UNDEFINED_ERROR = 220,
00059         UT_LANG_SYS_COEF_MISSING_ERROR,
00060         UT_LANG_SYS_INCORRECT_COEF_ERROR,
00061         UT_LANG_SYS_COEF_TOO_BIG_ERROR,
00062         UT_LANG_SYS_DEF_AFTER_CHARSET_ERROR,
00063         UT_INCORRECT_CHARMAP_ENTRY_ERROR,
00064         UT_UNDEFINED_CATEGORY_ERROR = 230,
00065         UT_CHAR_TOO_BIG_ERROR,
00066         UT_UNICODE_CHAR_TOO_BIG_ERROR,
00067         UT_CHARSET_FILE_ERROR,
00068         UT_CHARMAP_ENTRY_ILLEGAL_ERROR,
00069         
00070         UT_BAD_PARAMETER_ERROR = 300,
00071         UT_BAD_FLAGS_ERROR ,
00072         UT_DATA_OR_FILNAME_UNSPECIFIED_ERROR,
00073         //UT_EMPTY_FILE_ERROR,
00074         UT_EMPTY_DATA_ERROR,
00075         UT_BINARY_DATA_ERROR = 310,
00076         UT_CHARSET_NOT_RECOGNIZED_ERROR,
00077         
00078         UT_ERROR_MAX = 500
00079 } UtCode;
00080  
00081 #endif // _UT_ERROR_H_

Generated on Fri Feb 25 18:30:15 2005 for Utrac by  doxygen 1.3.9