1 /* $TOG: SmError.h /main/6 1998/10/26 17:20:54 mgreess $ */
3 * (c) Copyright 1993, 1994 Hewlett-Packard Company *
4 * (c) Copyright 1993, 1994 International Business Machines Corp. *
5 * (c) Copyright 1993, 1994 Sun Microsystems, Inc. *
6 * (c) Copyright 1993, 1994 Novell, Inc. *
8 /************************************<+>*************************************
9 ****************************************************************************
17 ** Variables and definitions needed for
18 ** Error Handling for the session manager
21 ** (c) Copyright Hewlett-Packard Company, 1990.
25 ****************************************************************************
26 ************************************<+>*************************************/
41 * Error messages trapped by X window calls - These are never displayed
43 #define BAD_ACCESS "Attempt to access unavailable resource"
44 #define BAD_ATOM "Atom for argument is not a defined atom"
45 #define BAD_DRAWABLE "Drawable argument is invalid"
46 #define BAD_MATCH "Drawable is a invalid match for operation"
47 #define BAD_VALUE "Value in X call is invalid"
48 #define BAD_WINDOW "Window does not exist"
49 #define DEFAULT_ERROR "Non-fatal error from X server"
57 * All NLS error messages
59 typedef struct _NlsStrings
61 char *cantLockErrorString;
62 char *trustedSystemErrorString;
63 char *cantMallocErrorString;
64 char *cantOpenFileString;
65 char *cantForkClientString;
66 char *cantExecClientString;
67 char *cantCreateDirsString;
73 extern NlsStrings smNLS;
80 extern void InitErrorHandler( void ) ;
81 extern void PrintError( DtSeverity , char *) ;
82 extern void PrintErrnoError( DtSeverity , char *) ;
83 #ifndef NO_MESSAGE_CATALOG
84 char * GetMessage( int, int, char * );
89 /* DON'T ADD ANYTHING AFTER THIS #endif */