174 lines
		
	
	
		
			12 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			174 lines
		
	
	
		
			12 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| compile insert REPOSERRORS
 | |
| /*
 | |
|    * This program is proprietary and is not to be used by or disclosed
 | |
|    * to others, nor is it to be copied without written permission from
 | |
|    * Revelation Technologies, Inc.
 | |
|    
 | |
|    Author    ???
 | |
|    Date      ???
 | |
|    Purpose   Error constants for use with repository-based functions
 | |
|    
 | |
|    Copyright (c) 1992-2015 Revelation Software. All rights reserved.
 | |
|    
 | |
|    Comments
 | |
|    ========
 | |
|      
 | |
|    
 | |
|    Amended  Date        Reason
 | |
|    =======  ====        ======
 | |
|    Mr C     18 Dec 20   Added QBF Errors
 | |
|    Mr C     10 Oct 19   Added REP143/144
 | |
|    Mr C     12 Mar 18   Added REP143
 | |
|    Mr C     16 Apr 16   Added REP142
 | |
|    Mr C     12 Jan 15   Added REP141
 | |
|    Mr C     09 Nov 15   Added POP110-POP114
 | |
|    Mr C     07 Oct 15   Added REP_OIWIN_COMMID_MISSING$ (REP315)
 | |
|    Mr C     15 Jun 15   Added REP510
 | |
|    Mr C     21 Nov 14   Added REP140
 | |
|    Mr C     Feb 2014    Updated for v10
 | |
|   
 | |
| */
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| #ifndef _REPOSERRORS_
 | |
| #define _REPOSERRORS_
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| 
 | |
|    * // Repository base method general error codes
 | |
|    equ REP_NO_METHOD_ERR$              to "REP100" ; * // no method for entity (entityid, message)
 | |
|    equ REP_2FEW_ARG_ERR$               to "REP101" ; * // least two args required for methods
 | |
|    equ REP_NO_FORWARD_ERR$             to "REP102" ; * // cannot forward message - no more parent class levels
 | |
|    equ REP_ENT_EXISTS_ERR$             to "REP110" ; * // cannot add entity - it already exists
 | |
|    equ REP_REF_MISSING$                to "REP111" ; * // Reference is missing - referential error ( ref entityid )
 | |
|    equ REP_REF_APP_ERR$                to "REP112" ; * // reference crosses application lines (entityid)
 | |
|    equ REP_ENT_INVALID_ID$             to "REP113" ; * // Invalid entid (too many '*')
 | |
|    equ REP_TYPE_EXISTS_ERR$            to "REP117" ; * // cannot add type - it already exists
 | |
|    equ REP_APP_EXISTS_ERR$             to "REP118" ; * // cannot add app - it already exists
 | |
|    equ REP_APP_ILLEGAL_RIGHTS_ERR$     to "REP119" ; * // user %1% does not have rights to perform operation %2% against entity %3%
 | |
|    equ REP_APP_INHERIT_MOD_ERR$        to "REP120" ; * // inherited entity %1% cannot be modified
 | |
|    equ REP_BAD_FLAG_OPT_ERR$           to "REP121" ; * // invalid flag option code ( option )
 | |
|    equ REP_BAD_FLAG_OP_ERR$            to "REP122" ; * // invalid flag operator code
 | |
|    equ REP_COMPONENT_NOEXISTS_ERR$     to "REP123" ; * // cannot find associated component %2% of entity %1%
 | |
|    equ REP_ILLEGAL_METHOD_ERR$         to "REP124" ; * // message %2% is not supported by the entity type/class %1%
 | |
|    equ REP_APP_MISSING_ERR$            to "REP125" ; * // app body missing in SYSAPPS
 | |
|    equ REP_DBSYNCH_LOCK_ERR$           to 'REP126' ; * // repository is being synchronized with the Database from another station
 | |
|    equ REP_CHECKCOPY_ERR$              to "REP127" ; * // Error copy entity %1% component %2% in checkout or extraction
 | |
|    equ REP_CHECKTOKEN_ERR$             to "REP128" ; * // Illegal location token used on hot format checkout
 | |
|    equ REP_COMPONENT_UPDATE_ERR$       to "REP129" ; * // Cannot update associated component %2% of entity %1% (%3%)
 | |
|    equ REP_MISSING_CLASS_DEF$          to "REP130" ; * // Missing SYSREPOSCLASSES definition for entity %1% (%2%).*/
 | |
|    equ REP_MISSING_TYPE_DEF$           to "REP131" ; * // Missing SYSREPOSTYPES definition for entity %1% (%2%).*/
 | |
|    equ REP_OPEN_SYSREPTYPES_ERR$       to "REP132" ; * // Error opening SYSREPOSTYPES table (%1%).
 | |
|    equ REP_OPEN_SYSREPCLASSES_ERR$     to "REP133" ; * // Error opening SYSREPOSCLASSES table (%1%).
 | |
|    equ REP_OLECREATESCRIPTCTRL_ERR$    to "REP134" ; * // Error creating MSScriptControl.ScriptControl (%1%).
 | |
|    equ REP_SCRIPTCTRLADDCODE_ERR$      to "REP135" ; * // Error adding code to Script Control (%1%).
 | |
|    equ REP_SCRIPTCTRLRUN_ERR$          to "REP136" ; * // Error running "%1%" function in Script Control (%2%).
 | |
|    equ REP_NOTEVENTCONTEXT$            to "REP137" ; * // %1% method for the %2% entity can only be executed in Event Context
 | |
|    equ REP_NOIDE$                      to "REP138" ; * // %1% method for the %2% entity can only be executed with a running IDE
 | |
|    equ REP_INVALIDARG$                 to "REP139" ; * // "%1%" is not a valid "%2%" parameter for the %3% method
 | |
|    equ REP_MISSING_LOCATION$           to "REP140" ; * // No LOCATION defined for the %1% entity
 | |
|    equ REP_MISSING_APPROW_ARG$         to "REP141" ; * // No AppRow passed to the %1% method for the %2% entity
 | |
|    equ REP_QETARGETNORESOLVED_ERR$     to "REP142" ; * // Unable to resolve the "%1%" quick event target for the "%2%" %3% event
 | |
|    equ REP_MISSING_PARENT_ID$          to "REP143" ; * // No parent ID specified for the %1% %2% method
 | |
|    equ REP_CANNOT_DELETE_SYSPROG$      to "REP144" ; * // The SYSPROG application cannot be deleted
 | |
|    equ REP_INVALID_APP_ERR$            to "REP145" ; * // %1% is not a valid application ID
 | |
|    
 | |
|    * // REP190 - REPOS_FILTER
 | |
|    equ REP_INVALID_FILTER$             to "REP190" ; * // Invalid REPFILTER definition passed to the %1% procedure 
 | |
|    equ REP_INVALID_VIEW$               to "REP191" ; * // Invalid REPVIEW ID passed to the %1% procedure [%2%]
 | |
|    equ REP_EMPTY_VIEW$                 to "REP192" ; * // Empty REPVIEW passed to the the %1% procedure
 | |
|    
 | |
|    equ REP_NO_EVENT_ERR$               to "REP200" ; * // No event found (controlid, controlclass, event ) 
 | |
|    equ REP_BAD_WINNAME_ERR$            to "REP201" ; * // %1% is not a valid window, or is not currently running
 | |
| 
 | |
|    equ REP_ENT_NOEXISTS_ERR$           to "REP300" ; * // Entity %1% does not exist in the repository
 | |
|    equ REP_UNKNOWN_EVENT_TOKEN$        to "REP303"
 | |
|    equ REP_WIN_OBJ_DNE$                to "REP305" ; * // Window Executable %1% was not found in this application
 | |
| 
 | |
|    * // REP310 - 320  reserved for OIWIN_COMPILE_EQUATES
 | |
| 
 | |
|    equ REP_JMAP_TABLE_MISSING$         to "REP310" ; * // compile error: join information for table "%1%" has not been specified for the form
 | |
|    equ REP_JMAP_COLUMN_ERROR$          to "REP311" ; * // compile error: The column %2% is not found in table %1%
 | |
|    equ REP_JMAP_CONTROL_ERROR$         to "REP312" ; * // compile error: The join control %1% is not found in the form
 | |
|    equ REP_OIWIN_MENUCOMP_ERR$         to "REP313" ; * // menu compile error: nesting error
 | |
|    equ REP_JMAP_KEYPART_ERROR$         to "REP314" ; * // Incomplete key:  Control for key part %1% is missing.
 | |
|    equ REP_OIWIN_COMMID_MISSING$       to "REP315" ; * // compile error: Commuter Moduler has not been defined for the form
 | |
| 
 | |
|    equ REP_ENT_MISMATCH_ERR$           to "REP333"
 | |
|    equ REP_UPDATE_PTR_ENTITY_ERR$      to "REP389"
 | |
| 
 | |
|    * // ----- 500 --------------------
 | |
|    equ REP_WINEXEC_ERR$                to "REP500" ; * // Winexec Error #%1%
 | |
|    
 | |
|    * // GET_REPOS_ENTITIES_LAST_UPDATED
 | |
|    equ REP_INVALID_DATE_PARAMS$        to "REP510" ; * // The "Date From" cannot be after the "Date To"
 | |
|    
 | |
|    
 | |
|    * // OIEVENT error codes start from 700
 | |
|    equ REP_OIEVENT_NOSUPER$            to "REP700" ; * // OIEVENT must have a super-control ( full-entid )
 | |
|    equ REP_OIEVENT_ENT_DIFF$           to "REP701" ; * // POEVENT need to have entitid same
 | |
|    equ REP_OIEVENT_INVALID_CLASSID$    to "REP703" ; * // invalid classid as token
 | |
| 
 | |
|    * // Collaborative development -- 800
 | |
|    equ REP_ENT_SHORTLOCK_ERR$          to "REP800" ; * // "Entity %1% locked by another session and could not be locked."
 | |
|    equ REP_ENT_OWNLOCK_ERR$            to "REP801" ; * // "Entity %1% is already locked by this session."
 | |
|    equ REP_ENT_LONGLOCK_ERR$           to "REP802" ; * // "Entity %1% is checked out by %2% and could not be locked."
 | |
|    equ REP_ENT_OWNLONGLOCK_ERR$        to "REP803" ; * // "Entity %1% is checked out by current user."
 | |
| 
 | |
|    equ REP_ENT_SHORTLOCK_TRANS_ERR$    to "REP804"    ;* "Remote entity %1% locked by another session and could not be locked."
 | |
|    equ REP_ENT_OWNLOCK_TRANS_ERR$      to "REP805"    ;* "Remote entity %1% is already locked by this session."
 | |
|    equ REP_ENT_LONGLOCK_TRANS_ERR$     to "REP806"    ;* "Remote entity %1% is checked out by %2% and could not be locked."
 | |
|    equ REP_ENT_OWNLONGLOCK_TRANS_ERR$  to "REP807" ;* "Remote entity %1% is checked out by current user."
 | |
| 
 | |
|    ; * // Repository mirroring -- 900
 | |
|    equ REP_MIRROR_CREATEFILE_ERR$      to "REP900"    ;* "Error creating mirror file %1%; status %2"
 | |
|    equ REP_MIRROR_DELETEFILE_ERR$      to "REP901"    ;* "Error deleting mirror file %1%; status %2"
 | |
|    equ REP_MIRROR_FILE_EXISTS_ERR$     to "REP902"    ;* "A repository mirror file exists at location %1%."
 | |
|    equ REP_MIRROR_INSTALLED_ERR$       to "REP903"    ;* "A repository mirror is already installed in this system."
 | |
|    equ REP_MIRROR_NOTINSTALLED_ERR$    to "REP904"    ;* "A repository mirror is not installed in this system."
 | |
|    equ REP_MIRROR_COMPARE_ERR$         to "REP905"    ;* "Row %1% shows differences."
 | |
|    equ REP_MIRROR_REPOS_LOCKED_ERR$    to "REP906"    ;* "The Repository is in a state of error.  Access to the repository is denied until a system administrator remedies the error condition."
 | |
| 
 | |
|    ; * // QBF errors
 | |
|    equ REP_NO_QBF_CRITERIA$            to 'REP932' ; // There are no records meeting this criteria
 | |
|    equ REP_QBF_SELECT_ERR$             to 'REP933' ; // The selection criteria is invalid
 | |
|    
 | |
|    ; * // Check-in/check-out errors.
 | |
|    equ CHK_DIR_CREATE_ERR$             to "CHK100"  ;* Could not create directory %1%.
 | |
|    equ CHK_INVALID_STATUS$             to "CHK101"  ;* Status %1% cannot be processed.
 | |
|    equ CHK_CREATE_REPOS_HOT_ERR$       to "CHK102"     ;* Could not create hot repository on "%1%".
 | |
|    equ CHK_CREATE_REPOS_COLD_ERR$      to "CHK103"  ;* Could not create cold repository on "%1%".
 | |
|    equ CHK_CREATE_VOL_EXIST_ERR$       to "CHK104"  ;* Volume "%1%" already exists.  Repository could not be created.
 | |
|    equ CHK_INVALID_FORMAT$             to "CHK105"  ;* Invalid repository format "%1%".
 | |
| 
 | |
|    * // Popup Error codes
 | |
| 
 | |
|    equ POPUP_BADFILE$                  to "POP101"  ;* File %1% does not exist!
 | |
|    equ POPUP_BADFIELD$                 to "POP102"  ;* Field %1% set to null when a value expected!
 | |
|    equ POPUP_BADKEY$                   to "POP103"  ;* Invalid key %1% in file %2%!
 | |
|    equ POPUP_MODETYPE_CONFLICT$        to "POP104"  ;* Mode %1% is incompatible with type %2%!
 | |
|    equ POPUP_BADTYPE$                  to "POP105"  ;* Type %1% is invalid!
 | |
|    equ POPUP_BADMODE$                  to "POP106"  ;* Mode %1% is invalid!
 | |
|    equ POPUP_NODICT$                   to "POP107"  ;* Dictionary does not exist for file %1%!
 | |
|    equ POPUP_NONNUM_FIELD$             to "POP108"  ;* Non-numeric field name %1% in format argument not allowed with mode F!
 | |
|    equ POPUP_BADFORMAT$                to "POP109"  ;* Format argument not allowed to be null!
 | |
|    equ POPUP_BADINSERT$                to "POP110"  ;* Error inserting the "%1%" column!
 | |
|    equ POPUP_BADCUSTOMPROC$            to "POP111"  ;* "%1%" is not a valid custom button procedure [%2%]
 | |
|    equ POPUP_BADCUSTOMPROCNOARGS$      to "POP112"  ;* The "%1%" custom button procedure must accept at least one argument
 | |
|    equ POPUP_BADINITPROC$              to "POP113"  ;* "%1%" is not a valid initialization procedure [%2%]
 | |
|    equ POPUP_BADINITPROCNOARGS$        to "POP114"  ;* The "%1%" initialization procedure must accept at least two arguments
 | |
| 
 | |
|    * // MSG Error codes
 | |
| 
 | |
|    equ MSG_CREATION_ERROR$             to "MSG101"  ;* Out of memory, or could not create MSG Dialog Box!
 | |
|    equ MSG_BADPARAMS_ERROR$            to "MSG102"  ;* One or more parameters were invalid, or @fm's found in text!
 | |
| 
 | |
|    equ INDEXLOOKUP_NODICT$             to "IDX101"  ;* Dictionary does not exist for file %1%!
 | |
|    equ INDEXLOOKUP_BADFILE$            to "IDX102"  ;* File %1% does not exist!
 | |
| 
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| ///////////////////////////////////////////////////////////////////////////////   
 | |
| #endif
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| ///////////////////////////////////////////////////////////////////////////////
 |