Messages.h

Go to the documentation of this file.
00001 #ifndef __MESSAGES_H__
00002 #define __MESSAGES_H__
00003 
00004 /*
00005 
00006 $Header$
00007 
00008 */
00009 
00010 // General messages.
00011 
00012 // Action messages.
00013 static const char *const MSG_ACTION_TERMINATED = "Action terminated.";
00014 
00015 // Memory messages.
00016 static const char *const MSG_NULL_POINTER           = "Null pointer.";
00017 static const char *const MSG_MEMORY_CANNOT_ALLOCATE = "Cannot allocate memory. %u bytes requested (%s).";
00018 static const char *const MSG_OBJECT_CANNOT_CREATE   = "Cannot create '%s' object.";
00019 static const char *const MSG_OBJECT_CANNOT_COPY     = "Cannot copy '%s' object.";
00020 static const char *const MSG_UNPERMITTED_RECURSION  = "Unpermitted recursion.";
00021 static const char *const MSG_INVALID_PARAMS         = "Invalid parameters for function or method.";
00022 static const char *const MSG_NO_INTERFACE           = "Object does not implement interface '%s'.";
00023 static const char *const MSG_INTEGRITY_FAILURE      = "Integrity failure.";
00024 static const char *const MSG_NOT_IMPLEMENTED        = "Function or method '%s' is not implemented.";
00025 
00026 // File messages.
00027 static const char *const MSG_FILE_DOES_NOT_EXIST = "File '%s' does not exist.";
00028 static const char *const MSG_FILE_CANNOT_OPEN    = "Cannot open file '%s' (%s).";
00029 static const char *const MSG_FILE_CANNOT_CREATE  = "Cannot create file '%s' (%s).";
00030 static const char *const MSG_FILE_CANNOT_READ    = "Cannot read file '%s' (%s).";
00031 static const char *const MSG_FILE_CANNOT_WRITE   = "Cannot write to file '%s' (%s).";
00032 static const char *const MSG_FILE_CANNOT_CLOSE   = "Cannot close file '%s' (%s).";
00033 static const char *const MSG_FILE_EMPTY          = "File '%s' is empty.";
00034 static const char *const MSG_FILE_TOO_BIG        = "File '%s' is too big. File size limit is %lld bytes.";
00035 static const char *const MSG_FILE_CANNOT_REMOVE  = "Cannot remove file '%s' (%s).";
00036 
00037 // Dir messages.
00038 static const char *const MSG_DIR_CANNOT_CREATE = "Cannot create directory '%s' (%s).";
00039 static const char *const MSG_DIR_CANNOT_OPEN   = "Cannot open directory '%s' (%s).";
00040 
00041 // Command line messages.
00042 static const char *const MSG_COMMAND_LINE_MISSING_OPTION_PARAMETER = "Missing command line option's parameter.";
00043 static const char *const MSG_COMMAND_LINE_UNKNOWN_OPTION           = "Unknown command line option option.";
00044 static const char *const MSG_COMMAND_LINE_MISSING_REQUIRED_PARAM   = "Missing required command line parameter.";
00045 
00046 #endif

Generated on Thu Sep 6 20:11:25 2007 for Pylon Application Platform by  doxygen 1.5.1