MSIR.0776 Mismatch between (methtype) declaration and definition: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
(Automatically generated page update)
Line 1: Line 1:
The declaration (the part in the <var>Public</var>, <var>Private</var>, <var>Public Shared</var>, or <var>Private Shared</var> block) of a method was not consistent with its definition header, the definition being the part of the class block that contains the method code. It is usually best to copy a method definition to its declaration, or vice versa, or to use a tool (such as, Xtend &#x2014; http://yoda-software.com.au) that automatically keeps the declaration and definition in sync. Correct either the method declaration or definition.
The declaration (the part in the <var>Public</var>, <var>Private</var>, <var>Public Shared</var>, or <var>Private Shared</var> block) of a method was not consistent with its definition header, the definition being the part of the class block that contains the method code. It is usually best to copy a method definition to its declaration, or vice versa, or to use a tool (such as, Xtend &#x2014; http://yoda-software.com.au) that automatically keeps the declaration and definition in sync. Correct either the method declaration or definition.


{{Template:MSIR.0776 footer}}
[[Category:Sirius Mods messages]] [[Category:MSIR.0600 - MSIR.0799]]
[[Category:Sirius Mods messages]] [[Category:MSIR.0600 - MSIR.0799]]

Revision as of 21:55, 11 July 2016

The declaration (the part in the Public, Private, Public Shared, or Private Shared block) of a method was not consistent with its definition header, the definition being the part of the class block that contains the method code. It is usually best to copy a method definition to its declaration, or vice versa, or to use a tool (such as, Xtend — http://yoda-software.com.au) that automatically keeps the declaration and definition in sync. Correct either the method declaration or definition.


Message attributes:

RETCODEO=0Sets online return code
RETCODEB=4Sets batch (single user) return code
CLASS=EError class; the message can be suppressed with the X'04' bit setting of the MSGCTL parameter
AUDITERWrites the message with line type ER to the audit trail
COUNTIncrements the error count (ERCNT) parameter
ECHODisplays the line that caused the error

Back to list of messages