Package com._1c.g5.v8.dt.bsl.validation
Class BslErrorCode
- java.lang.Object
-
- com._1c.g5.v8.dt.bsl.validation.BslErrorCode
-
public final class BslErrorCode extends Object
Contains codes of Built-in validation errors. This codes can be used for creating quick fixes
-
-
Field Summary
Fields Modifier and Type Field Description static String
ADOPTABLE_METHOD_SHOULD_NOT_BE_ANNOTATED_AS_AFTER_AND_AROUND
Corresponding to validation issue that says - adoptable method shouldn't be annotated as After and Around in the same timestatic String
ADOPTABLE_METHOD_SHOULD_NOT_BE_ANNOTATED_AS_BEFORE_AND_AROUND
Corresponding to validation issue that says - adoptable method shouldn't be annotated as Before and Around in the same timestatic String
ANOTHER_METHOD_SIGNATURE_IN_MODULE_EXTENSION
Corresponding to validation issue that says - Another method signature than in adoptable method.static String
ASSIGN_TO_FORM_ATTRIBUTE_NOT_ALLOWED_TYPE
Corresponding to validation issue that says - Not allowed assign to form attribute value of typestatic String
ASSIGN_TO_FORM_ATTRIBUTE_WITH_ARBITRARY_TYPE_NOT_ALLOWED_TYPE
Corresponding to validation issue that says - Not recommended assign to form attribute with type Arbitrary value of typestatic String
ASYNC_METHOD_AVAILABLE_ONLY_FOR_CLIENT_CONTEXT
Corresponding to validation issue that says - keyword "Async" using for non client methodstatic String
ASYNC_METHOD_AVAILABLE_SINCE
Corresponding to validation issue that says - keyword "Async" using in project with version less than 8.3.18static String
AWAIT_EXPRESSION_ALLOWED_ONLY_IN_ASYNC_METHOD
Corresponding to validation issue that says - keyword "Await" using in non async methodstatic String
BREAK_WITHOUT_LOOP
Corresponding to validation issue that says - operator "break" is used in not loop statement ("for" or "while")
Example:static String
BUILTN_FUNCTION_IN_LEFT_PART_EXPRESSION
Corresponding to validation issue that says - function from global context called from left part of simple statementstatic String
CODE_NEVER_WILL_BE_COMPILIED
Corresponding to validation issue that says - unreachable code due to restriction of Built-in language module environmentsstatic String
CONTINUE_WITHOUT_LOOP
Corresponding to validation issue that says - operator "continue" is used in not loop statement ("for" or "while")
Example:static String
DEPRECATED_OBJECT
Corresponding to validation issue that says - platform object was marked as "deprecated" in commentsstatic String
DUPLICATE_METHOD_NAME_IN_MODULE_EXTENSION
Corresponding to validation issue that says - duplicate method name in extension module.static String
EMPTY_METHOD
Corresponding to validation issue that says - method of Built-in language hasn't statements
Example:static String
ENVIRONMENTS_FOR_METHOD_IS_NOT_SET
Corresponding to validation issue that says - method wasn't defined for any environmentstatic String
EXPECTED_METHOD_NAME
Corresponding to validation issue that says - Using annotation with empty method name
Example:static String
EXPRESSION_IS_NOT_EVENT
Corresponding to validation issue that says - the first expression in operator "AddHandler" and "RemoveHandler" must be name of allowed eventstatic String
EXPRESSIONS_ON_THE_PREPROCESSOR_KEYWORD_LINE__LEFT
Corresponding to validation issue that says - there is expressions before preprocessor part
Example:static String
EXPRESSIONS_ON_THE_PREPROCESSOR_KEYWORD_LINE__RIGHT
Corresponding to validation issue that says - there is expressions before preprocessor part
Example:static String
FUNCTION_SHOULD_RETURN_VALUE
Corresponding to validation issue that says - function should return value
Example:static String
GLOBAL_ELEMENT_WITH_THE_SAME_NAME
Corresponding to validation issue that says - there is global element with the same name as the variable hasstatic String
HANDLER_EXPRESSION_IS_NOT_METHOD
Corresponding to validation issue that says - the second expression in operator "AddHandler" and "RemoveHandler" must be link to the methodstatic String
HANDLER_EXPRESSION_MUST_BE_FUNCTION
Corresponding to validation issue that says - the second expression in operator "AddHandler" and "RemoveHandler" must be link to the functionstatic String
HANDLER_METHOD_HAS_WRONG_NUMBER_PARAMETERS
Corresponding to validation issue that says - the second expression in operator "AddHandler" and "RemoveHandler" must be link to the method with allowed number of parametersstatic String
ILLEGAL_DATE_FORMAT
Corresponding to validation issue that says - unknown format of date literal expression
Example:static String
INDEX_ACCES_NOT_SUPPORTED
Corresponding to validation issue that says - using operator "[]" for expression returning not index accessible type
Example:static String
INVALID_ACCESS_TO_SYSTEM_ENUM_VALUE
Corresponding to validation issue that says - Access to system enum value not from system enum global property
Example (for form module):static String
INVALID_VARIABLE_NAME
Corresponding to validation issue that says - Using symbol '?' for variable name not allowed
Example:static String
LABEL_NAME_ALREADY_DEFINED
Corresponding to validation issue that says - label with the same was defined earlier
Example:static String
LOCAL_VARIABLE_CANNOT_BE_EXPORTED
Corresponding to validation issue that says - local variable can't be exported
Example:static String
MANY_ACTUAL_PARAMETERS
Corresponding to validation issue that says - invocation of method contains a lot of parameters Example:static String
METHOD_NAME_ALREADY_DEFINED
Corresponding to validation issue that says - method with the same name was defined earlier
Example:static String
METHOD_TEXT_HAS_DIFFERENCES_TO_BASE_METHOD
Corresponding to validation issue that says - if in extension method has pragma "ChangeAndValidate" its text should be equals to base method text.static String
MOBILE_STANDALONE_SERVER_AVAILABLE_SINCE
Corresponding to validation issue that says - keyword "MobileStandaloneServer" using in project with version less than 8.3.16static String
NESTING_PREPROCESSOR_INSTRUCTION_DELETE_OR_INSERT_NOT_ALLOWED
Corresponding to validation issue that says - preprocessor instruction "#Insert" and "#Delete") cannot be nestedstatic String
NOT_ALLOWED_ANNOTATION_SYMBOLS_AROUND_WITH_ANOTHER
Corresponding to validation issue that says - Using annotation symbol 'Around' with 'Before' or 'After' function
Example:static String
NOT_ALLOWED_ANNOTATION_SYMBOLS_FOR_DECLARE_STATEMENTS
Corresponding to validation issue that says - Using annotation for declare statements
Example:static String
NOT_ALLOWED_ANNOTATION_SYMBOLS_FOR_FUNCTION
Corresponding to validation issue that says - Using annotation symbols 'After' and 'Before' for function
Example:static String
NOT_ALLOWED_NEW_LINE_BEFORE_PREPROCESSOR_PART
Corresponding to validation issue that says - Not allowed new line before preprocessor part
Example:static String
NOT_ALLOWED_NO_CONTEXT_DIRECTIVE_FOR_VARIABLE
Corresponding to validation issue that says - Not allowed compiler directives without context for variables
Example (for form module):static String
NOT_ALLOWED_PRAGMA
Corresponding to validation issue that says - unknown compilation directive for this module type
Example for server common module:static String
NOT_ALLOWED_PRAGMA_FOR_COMMON_MODULE
Corresponding to validation issue that says - unknown compilation directive for this common module - compilation directive is not supported by common module environments
Example for server common module:static String
NOT_ALLOWED_USE_ANNOTATION_FOR_FORM_EVENTS_IN_MODULE_EXTENSION
Corresponding to validation issue that says - Not allowed use annotation for form event handlersstatic String
NOT_COLLECTION
Corresponding to validation issue that says - operatorfor each
is used with expression that has not iterable type
Example:static String
NOT_ENOUGH_PARAMETERS
Corresponding to validation issue that says - invocation of method contains not enough parameters Example:static String
NOT_SUPPORTED_TYPE_IN_OPERATOR_NEW
Corresponding to validation issue that says - unsupported type is used in operator "New"
Example:static String
OBJECT_IS_NOT_ACCESSIBLE_IN_COMPATIBILITY_MODE
Corresponding to validation issue that says - platform object has compatibility mode greater than current configuration compatibility modestatic String
ONE_LINE_FOR_PREPROCESSOR_EXPRESSION
Corresponding to validation issue that says - Preprocessor conditional expression holds more than 1 line in module
Example:static String
ONLY_METHOD_AVAILABLE_IN_MODULE
Corresponding to validation issue that says - this type of module can contain only methods (not module variable and statements)
Example for common module:static String
PARAM_NAME_ALREADY_DEFINED
Corresponding to validation issue that says - parameter with the same name was defined earlier
Example:static String
PREPROCESSOR_INSTRUCTION_NOT_ALLOWED_IN_THIS_CONTEXT
Corresponding to validation issue that says - preprocessor instruction "#Insert" ("#Delete") is used not in extension module or actualVersion
is less or equalsVersion.V8_3_14
static String
PROCEDURE_CALL_AS_FUNCTION
Corresponding to validation issue that says - procedure is used in right part ofSimpleStatement
expression
Example:static String
PROCEDURE_CANNOT_RETURN_VALUE
Corresponding to validation issue that says - operator "return" is used with expression in procedure
Example:static String
PROPERTY_NOT_READABLE
Corresponding to validation issue that says - property can't be used in right part ofSimpleStatement
static String
PROPERTY_NOT_WRITABLE
Corresponding to validation issue that says - the left value ofSimpleStatement
corresponds to property which isn't writable
Example:static String
RAISE_OPERATOR_WITHOUT_EXPRESSION
Corresponding to validation issue that says - operator "Raise" is used without expression not in "Try" operator
Example:static String
RECOMMENDED_ACCESS_THROUGH_SYSTEM_ENUM_VALUE
Corresponding to validation issue that says - recommended access to metadata object enumerated properties through system enums
Example:static String
RECORD_MANAGER_FOR_SUBORDINATE_RECORDER
Corresponding to validation issue that says - method "CreateRecordManager" was called for information register subordinate to recorderstatic String
REPEATED_ANNOTATIONS_SYMBOLS
Corresponding to validation issue that says - Using repeated annotations
Example:static String
RETURN_VALUE_TYPES_HAVE_DIFFERENT_ENVIRONMENTS
Corresponding to validation issue that says - expression returns value that has types with different environment than environment of calling context
Example (for server common module):static String
RETURN_WITHOUT_EXPRESSION
Corresponding to validation issue that says - operator "return" is used without expression in function
Example:static String
RETURN_WITHOUT_METHOD
Corresponding to validation issue that says - operator "return" isn't used in method
Example:static String
THERE_IS_ANOTHER_METHOD_WITH_THE_SAME_ANNOTATION_TYPE
Corresponding to validation issue that says - there is another method(s) with the same annotation type for the adoptable methodstatic String
TYPE_IS_NOT_DEFINED
Corresponding to validation issue that says - Unknown name of type
Example:static String
UNKNOWN_ADOPTABLE_METHOD_NAME_IN_MODULE_EXTENSION
Corresponding to validation issue that says - Unknown adoptable method name.static String
UNKNOWN_METHOD_PROPERTY
Corresponding to validation issue that says - property or method getting from the dot operator unknownstatic String
UNKNOWN_OPERATOR
Corresponding to validation issue that says - unknown operator, not allowed call property or variable without anything action Example:static String
UNKNOWN_PRAGMA
Corresponding to validation issue that says - unknown compilation directive
Example:static String
UNREACHABLE_CODE
Corresponding to validation issue that says - unreachable code due to previous preprocessor logical expressionsstatic String
UNREACHABLE_STATEMENT
Corresponding to validation issue that says - method in Built-in language module contains some unreachable statements
Example:static String
UNUSED_LOCAL_VARIABLE
Corresponding to validation issue that says - unused local variable was found
Example:static String
UNUSED_MEHTOD
Corresponding to validation issue that says - unused method is not exported method which isn't called from other methods in Built-in language module
Example:static String
VARIABLE_NEVER_INITILIAZED
Corresponding to validation issue that says - local variable was defined but wasn't initialized
Example:static String
VARIABLE_NOT_INITILIAZED_YET
Corresponding to validation issue that says - using local variable has not been initialized yet
Example:static String
VARIABLE_WITH_NAME_ALREADY_DEFINED
Corresponding to validation issue that says - variable with the same name was defined earlier
Example:static String
WRONG_EVENT_HANDLER
Corresponding to validation issue that says - in operators "AddHandler" and "RemoveHandler" is used not compatible event handlerstatic String
WRONG_EXPRESSION_TYPE
Corresponding to validation issue that says - this type is unexpected in this contextstatic String
WRONG_GOTO_LABEL
Corresponding to validation issue that says - unknown label in "goto" operatorstatic String
WRONG_GRAMMAR_ORDER
Corresponding to validation issue that says - Built-in language module has wrong order of grammar elements
Example:static String
WRONG_NUMBER_CTOR_PARAMETERS
Corresponding to validation issue that says - unknown constructor with this number of parameters
Example:static String
WRONG_NUMBER_LITERAL
Corresponding to validation issue that says - wrong string literal expression
Example:static String
WRONG_STRING_LITERAL
Corresponding to validation issue that says - there is unknown value of string literal in context of its using
Example:static String
WRONG_TYPE_FOR_TRANSFER_CLIENT_SERVER
Corresponding to validation issue that says - transferring not supported object type between client and server
-
-
-
Field Detail
-
WRONG_GRAMMAR_ORDER
public static final String WRONG_GRAMMAR_ORDER
Corresponding to validation issue that says - Built-in language module has wrong order of grammar elements
Example:#Region RegionName a = 1; #EndRegion #Region RegionName Procedure example(Parameter) //some code EndProcedure #EndRegion
- See Also:
- Constant Field Values
-
UNREACHABLE_STATEMENT
public static final String UNREACHABLE_STATEMENT
Corresponding to validation issue that says - method in Built-in language module contains some unreachable statements
Example:Function example(Parameter) Var a; Return a; a = New Array; EndFunction
- See Also:
- Constant Field Values
-
WRONG_STRING_LITERAL
public static final String WRONG_STRING_LITERAL
Corresponding to validation issue that says - there is unknown value of string literal in context of its using
Example:Function example(Parameter) Var a; a = New("Array1"); Return a; EndFunction
- See Also:
- Constant Field Values
-
UNKNOWN_PRAGMA
public static final String UNKNOWN_PRAGMA
Corresponding to validation issue that says - unknown compilation directive
Example:&Everywhere Procedure example(Parameter) //some code EndProcedure
- See Also:
- Constant Field Values
-
NOT_ALLOWED_PRAGMA
public static final String NOT_ALLOWED_PRAGMA
Corresponding to validation issue that says - unknown compilation directive for this module type
Example for server common module:&AtServerNoContext Procedure example(Parameter) //some code EndProcedure
- See Also:
- Constant Field Values
-
NOT_ALLOWED_PRAGMA_FOR_COMMON_MODULE
public static final String NOT_ALLOWED_PRAGMA_FOR_COMMON_MODULE
Corresponding to validation issue that says - unknown compilation directive for this common module - compilation directive is not supported by common module environments
Example for server common module:&AtClient Procedure example(Parameter) //some code EndProcedure
- See Also:
- Constant Field Values
-
WRONG_NUMBER_LITERAL
public static final String WRONG_NUMBER_LITERAL
Corresponding to validation issue that says - wrong string literal expression
Example:Procedure example(Parameter) a = 1. EndProcedure
- See Also:
- Constant Field Values
-
NOT_COLLECTION
public static final String NOT_COLLECTION
Corresponding to validation issue that says - operatorfor each
is used with expression that has not iterable type
Example:Procedure example(Parameter) Collection = "literal"; For Each Element In Collection Do //some code EndDo; EndProcedure
- See Also:
- Constant Field Values
-
NOT_SUPPORTED_TYPE_IN_OPERATOR_NEW
public static final String NOT_SUPPORTED_TYPE_IN_OPERATOR_NEW
Corresponding to validation issue that says - unsupported type is used in operator "New"
Example:Procedure example(Parameter) a = New Строка EndProcedure
- See Also:
- Constant Field Values
-
INDEX_ACCES_NOT_SUPPORTED
public static final String INDEX_ACCES_NOT_SUPPORTED
Corresponding to validation issue that says - using operator "[]" for expression returning not index accessible type
Example:Procedure example(Parameter) a = "literal"; a = a[0] EndProcedure
- See Also:
- Constant Field Values
-
VARIABLE_WITH_NAME_ALREADY_DEFINED
public static final String VARIABLE_WITH_NAME_ALREADY_DEFINED
Corresponding to validation issue that says - variable with the same name was defined earlier
Example:Procedure example(Parameter) Var array; Var array; EndProcedure
- See Also:
- Constant Field Values
-
UNUSED_LOCAL_VARIABLE
public static final String UNUSED_LOCAL_VARIABLE
Corresponding to validation issue that says - unused local variable was found
Example:Procedure example(Parameter) a = 1 EndProcedure
- See Also:
- Constant Field Values
-
VARIABLE_NOT_INITILIAZED_YET
public static final String VARIABLE_NOT_INITILIAZED_YET
Corresponding to validation issue that says - using local variable has not been initialized yet
Example:Procedure example(Parameter) Var number; a = number + 1; EndProcedure
- See Also:
- Constant Field Values
-
VARIABLE_NEVER_INITILIAZED
public static final String VARIABLE_NEVER_INITILIAZED
Corresponding to validation issue that says - local variable was defined but wasn't initialized
Example:Procedure example(Parameter) Var number; a = 1; EndProcedure
- See Also:
- Constant Field Values
-
GLOBAL_ELEMENT_WITH_THE_SAME_NAME
public static final String GLOBAL_ELEMENT_WITH_THE_SAME_NAME
Corresponding to validation issue that says - there is global element with the same name as the variable has- See Also:
- Constant Field Values
-
FUNCTION_SHOULD_RETURN_VALUE
public static final String FUNCTION_SHOULD_RETURN_VALUE
Corresponding to validation issue that says - function should return value
Example:Procedure example(Parameter) Var number; number = 1; EndProcedure
- See Also:
- Constant Field Values
-
ASSIGN_TO_FORM_ATTRIBUTE_WITH_ARBITRARY_TYPE_NOT_ALLOWED_TYPE
public static final String ASSIGN_TO_FORM_ATTRIBUTE_WITH_ARBITRARY_TYPE_NOT_ALLOWED_TYPE
Corresponding to validation issue that says - Not recommended assign to form attribute with type Arbitrary value of type- See Also:
- Constant Field Values
-
ASSIGN_TO_FORM_ATTRIBUTE_NOT_ALLOWED_TYPE
public static final String ASSIGN_TO_FORM_ATTRIBUTE_NOT_ALLOWED_TYPE
Corresponding to validation issue that says - Not allowed assign to form attribute value of type- See Also:
- Constant Field Values
-
PROPERTY_NOT_WRITABLE
public static final String PROPERTY_NOT_WRITABLE
Corresponding to validation issue that says - the left value ofSimpleStatement
corresponds to property which isn't writable
Example:Procedure example(Parameter) Catalogs = 1; EndProcedure
- See Also:
- Constant Field Values
-
WRONG_EXPRESSION_TYPE
public static final String WRONG_EXPRESSION_TYPE
Corresponding to validation issue that says - this type is unexpected in this context- See Also:
- Constant Field Values
-
LABEL_NAME_ALREADY_DEFINED
public static final String LABEL_NAME_ALREADY_DEFINED
Corresponding to validation issue that says - label with the same was defined earlier
Example:Procedure example(Parameter) ~label1: a = 1; ~label1: b = 1; EndProcedure
- See Also:
- Constant Field Values
-
METHOD_NAME_ALREADY_DEFINED
public static final String METHOD_NAME_ALREADY_DEFINED
Corresponding to validation issue that says - method with the same name was defined earlier
Example:Procedure example(Parameter) //some code EndProcedure Procedure example(Parameter) //some code EndProcedure
- See Also:
- Constant Field Values
-
LOCAL_VARIABLE_CANNOT_BE_EXPORTED
public static final String LOCAL_VARIABLE_CANNOT_BE_EXPORTED
Corresponding to validation issue that says - local variable can't be exported
Example:Procedure example(Parameter) Var expression Export; EndProcedure
- See Also:
- Constant Field Values
-
UNUSED_MEHTOD
public static final String UNUSED_MEHTOD
Corresponding to validation issue that says - unused method is not exported method which isn't called from other methods in Built-in language module
Example:Procedure example(Parameter) //some code EndProcedure
- See Also:
- Constant Field Values
-
EMPTY_METHOD
public static final String EMPTY_METHOD
Corresponding to validation issue that says - method of Built-in language hasn't statements
Example:Procedure example(Parameter) EndProcedure
- See Also:
- Constant Field Values
-
WRONG_NUMBER_CTOR_PARAMETERS
public static final String WRONG_NUMBER_CTOR_PARAMETERS
Corresponding to validation issue that says - unknown constructor with this number of parameters
Example:Procedure example(Parameter) a = New SpreadsheetDocument("NameOfSpreadsheetDocument") EndProcedure
- See Also:
- Constant Field Values
-
TYPE_IS_NOT_DEFINED
public static final String TYPE_IS_NOT_DEFINED
Corresponding to validation issue that says - Unknown name of type
Example:Procedure example(Parameter) a = New SpreadsheetDocument1212() EndProcedure
- See Also:
- Constant Field Values
-
BREAK_WITHOUT_LOOP
public static final String BREAK_WITHOUT_LOOP
Corresponding to validation issue that says - operator "break" is used in not loop statement ("for" or "while")
Example:Procedure example(Parameter) Break EndProcedure
- See Also:
- Constant Field Values
-
CONTINUE_WITHOUT_LOOP
public static final String CONTINUE_WITHOUT_LOOP
Corresponding to validation issue that says - operator "continue" is used in not loop statement ("for" or "while")
Example:Procedure example(Parameter) Continue EndProcedure
- See Also:
- Constant Field Values
-
RETURN_WITHOUT_METHOD
public static final String RETURN_WITHOUT_METHOD
Corresponding to validation issue that says - operator "return" isn't used in method
Example:Procedure example(Parameter) //some code EndProcedure Return;
- See Also:
- Constant Field Values
-
RETURN_WITHOUT_EXPRESSION
public static final String RETURN_WITHOUT_EXPRESSION
Corresponding to validation issue that says - operator "return" is used without expression in function
Example:Function example(Parameter) Return; EndFunction
- See Also:
- Constant Field Values
-
PROCEDURE_CANNOT_RETURN_VALUE
public static final String PROCEDURE_CANNOT_RETURN_VALUE
Corresponding to validation issue that says - operator "return" is used with expression in procedure
Example:Procedure example(Parameter) Return 1; EndProcedure
- See Also:
- Constant Field Values
-
RAISE_OPERATOR_WITHOUT_EXPRESSION
public static final String RAISE_OPERATOR_WITHOUT_EXPRESSION
Corresponding to validation issue that says - operator "Raise" is used without expression not in "Try" operator
Example:Procedure example(Parameter) Raise; EndProcedure
- See Also:
- Constant Field Values
-
WRONG_GOTO_LABEL
public static final String WRONG_GOTO_LABEL
Corresponding to validation issue that says - unknown label in "goto" operator- See Also:
- Constant Field Values
-
EXPRESSION_IS_NOT_EVENT
public static final String EXPRESSION_IS_NOT_EVENT
Corresponding to validation issue that says - the first expression in operator "AddHandler" and "RemoveHandler" must be name of allowed event- See Also:
- Constant Field Values
-
HANDLER_EXPRESSION_IS_NOT_METHOD
public static final String HANDLER_EXPRESSION_IS_NOT_METHOD
Corresponding to validation issue that says - the second expression in operator "AddHandler" and "RemoveHandler" must be link to the method- See Also:
- Constant Field Values
-
HANDLER_EXPRESSION_MUST_BE_FUNCTION
public static final String HANDLER_EXPRESSION_MUST_BE_FUNCTION
Corresponding to validation issue that says - the second expression in operator "AddHandler" and "RemoveHandler" must be link to the function- See Also:
- Constant Field Values
-
HANDLER_METHOD_HAS_WRONG_NUMBER_PARAMETERS
public static final String HANDLER_METHOD_HAS_WRONG_NUMBER_PARAMETERS
Corresponding to validation issue that says - the second expression in operator "AddHandler" and "RemoveHandler" must be link to the method with allowed number of parameters- See Also:
- Constant Field Values
-
UNREACHABLE_CODE
public static final String UNREACHABLE_CODE
Corresponding to validation issue that says - unreachable code due to previous preprocessor logical expressions- See Also:
- Constant Field Values
-
CODE_NEVER_WILL_BE_COMPILIED
public static final String CODE_NEVER_WILL_BE_COMPILIED
Corresponding to validation issue that says - unreachable code due to restriction of Built-in language module environments- See Also:
- Constant Field Values
-
ONLY_METHOD_AVAILABLE_IN_MODULE
public static final String ONLY_METHOD_AVAILABLE_IN_MODULE
Corresponding to validation issue that says - this type of module can contain only methods (not module variable and statements)
Example for common module:Procedure example(Parameter) //some code EndProcedure a = 1;
- See Also:
- Constant Field Values
-
PARAM_NAME_ALREADY_DEFINED
public static final String PARAM_NAME_ALREADY_DEFINED
Corresponding to validation issue that says - parameter with the same name was defined earlier
Example:Procedure example(Parameter, Parameter) //some code EndProcedure
- See Also:
- Constant Field Values
-
MANY_ACTUAL_PARAMETERS
public static final String MANY_ACTUAL_PARAMETERS
Corresponding to validation issue that says - invocation of method contains a lot of parameters Example:Procedure example(Parameter) //some code EndProcedure Procedure exampleCall() example(1, 2) EndProcedure
- See Also:
- Constant Field Values
-
NOT_ENOUGH_PARAMETERS
public static final String NOT_ENOUGH_PARAMETERS
Corresponding to validation issue that says - invocation of method contains not enough parameters Example:Procedure example(Parameter1, Parameter2) //some code EndProcedure Procedure exampleCall() example(1) EndProcedure
- See Also:
- Constant Field Values
-
PROCEDURE_CALL_AS_FUNCTION
public static final String PROCEDURE_CALL_AS_FUNCTION
Corresponding to validation issue that says - procedure is used in right part ofSimpleStatement
expression
Example:Procedure example(Parameter) //some code EndProcedure Procedure exampleCall() a = example(1) EndProcedure
- See Also:
- Constant Field Values
-
WRONG_EVENT_HANDLER
public static final String WRONG_EVENT_HANDLER
Corresponding to validation issue that says - in operators "AddHandler" and "RemoveHandler" is used not compatible event handler- See Also:
- Constant Field Values
-
PROPERTY_NOT_READABLE
public static final String PROPERTY_NOT_READABLE
Corresponding to validation issue that says - property can't be used in right part ofSimpleStatement
- See Also:
- Constant Field Values
-
ILLEGAL_DATE_FORMAT
public static final String ILLEGAL_DATE_FORMAT
Corresponding to validation issue that says - unknown format of date literal expression
Example:Procedure example(Parameter, Parameter) a = '1213' EndProcedure
- See Also:
- Constant Field Values
-
RETURN_VALUE_TYPES_HAVE_DIFFERENT_ENVIRONMENTS
public static final String RETURN_VALUE_TYPES_HAVE_DIFFERENT_ENVIRONMENTS
Corresponding to validation issue that says - expression returns value that has types with different environment than environment of calling context
Example (for server common module):Procedure example(Parameter, Parameter) a = f() // warning will be here EndProcedure Function f() return new FileDialogMode(); EndFunction
- See Also:
- Constant Field Values
-
EXPRESSIONS_ON_THE_PREPROCESSOR_KEYWORD_LINE__LEFT
public static final String EXPRESSIONS_ON_THE_PREPROCESSOR_KEYWORD_LINE__LEFT
Corresponding to validation issue that says - there is expressions before preprocessor part
Example:Procedure example(Parameter, Parameter) a = 1; #Region name #EndRegion EndProcedure
- See Also:
- Constant Field Values
-
EXPRESSIONS_ON_THE_PREPROCESSOR_KEYWORD_LINE__RIGHT
public static final String EXPRESSIONS_ON_THE_PREPROCESSOR_KEYWORD_LINE__RIGHT
Corresponding to validation issue that says - there is expressions before preprocessor part
Example:Procedure example(Parameter, Parameter) #Region name #EndRegion a = 1; EndProcedure
- See Also:
- Constant Field Values
-
ONE_LINE_FOR_PREPROCESSOR_EXPRESSION
public static final String ONE_LINE_FOR_PREPROCESSOR_EXPRESSION
Corresponding to validation issue that says - Preprocessor conditional expression holds more than 1 line in module
Example:Procedure example(Parameter, Parameter) #if client and server then a = 1 #endif EndProcedure
- See Also:
- Constant Field Values
-
NOT_ALLOWED_NEW_LINE_BEFORE_PREPROCESSOR_PART
public static final String NOT_ALLOWED_NEW_LINE_BEFORE_PREPROCESSOR_PART
Corresponding to validation issue that says - Not allowed new line before preprocessor part
Example:Procedure example(Parameter, Parameter) #if client and server then a = 1 #endif EndProcedure
- See Also:
- Constant Field Values
-
NOT_ALLOWED_NO_CONTEXT_DIRECTIVE_FOR_VARIABLE
public static final String NOT_ALLOWED_NO_CONTEXT_DIRECTIVE_FOR_VARIABLE
Corresponding to validation issue that says - Not allowed compiler directives without context for variables
Example (for form module):&AtServerNoContext var variable; Procedure example(Parameter, Parameter) //do something EndProcedure
- See Also:
- Constant Field Values
-
INVALID_ACCESS_TO_SYSTEM_ENUM_VALUE
public static final String INVALID_ACCESS_TO_SYSTEM_ENUM_VALUE
Corresponding to validation issue that says - Access to system enum value not from system enum global property
Example (for form module):Procedure example(Parameter, Parameter) a = ItemsAndTitlesAlign.Auto; EndProcedure
- See Also:
- Constant Field Values
-
NOT_ALLOWED_ANNOTATION_SYMBOLS_FOR_DECLARE_STATEMENTS
public static final String NOT_ALLOWED_ANNOTATION_SYMBOLS_FOR_DECLARE_STATEMENTS
Corresponding to validation issue that says - Using annotation for declare statements
Example:&Before("oldMyVariable") var myVariable;
- See Also:
- Constant Field Values
-
EXPECTED_METHOD_NAME
public static final String EXPECTED_METHOD_NAME
Corresponding to validation issue that says - Using annotation with empty method name
Example:&Before("") Procedure example(Parameter, Parameter) //some code EndProcedure
- See Also:
- Constant Field Values
-
REPEATED_ANNOTATIONS_SYMBOLS
public static final String REPEATED_ANNOTATIONS_SYMBOLS
Corresponding to validation issue that says - Using repeated annotations
Example:&Before("method1") &Before("method1") Procedure example(Parameter, Parameter) //some code EndProcedure
- See Also:
- Constant Field Values
-
NOT_ALLOWED_ANNOTATION_SYMBOLS_FOR_FUNCTION
public static final String NOT_ALLOWED_ANNOTATION_SYMBOLS_FOR_FUNCTION
Corresponding to validation issue that says - Using annotation symbols 'After' and 'Before' for function
Example:&After("method1") Function example(Parameter, Parameter) //some code return 1; EndFunction
- See Also:
- Constant Field Values
-
NOT_ALLOWED_ANNOTATION_SYMBOLS_AROUND_WITH_ANOTHER
public static final String NOT_ALLOWED_ANNOTATION_SYMBOLS_AROUND_WITH_ANOTHER
Corresponding to validation issue that says - Using annotation symbol 'Around' with 'Before' or 'After' function
Example:&After("method1") &Around("method2") Procedure example(Parameter, Parameter) //some code EndProcedure
- See Also:
- Constant Field Values
-
INVALID_VARIABLE_NAME
public static final String INVALID_VARIABLE_NAME
Corresponding to validation issue that says - Using symbol '?' for variable name not allowed
Example:Procedure example(Parameter, Parameter) ? = 1; EndProcedure
- See Also:
- Constant Field Values
-
WRONG_TYPE_FOR_TRANSFER_CLIENT_SERVER
public static final String WRONG_TYPE_FOR_TRANSFER_CLIENT_SERVER
Corresponding to validation issue that says - transferring not supported object type between client and server- See Also:
- Constant Field Values
-
RECOMMENDED_ACCESS_THROUGH_SYSTEM_ENUM_VALUE
public static final String RECOMMENDED_ACCESS_THROUGH_SYSTEM_ENUM_VALUE
Corresponding to validation issue that says - recommended access to metadata object enumerated properties through system enums
Example:Procedure example(Parameter, Parameter) If MetadataDocument.Posting = Metadata.ObjectProperties.Posting.Allow Then //some code EndIf; EndProcedure
- See Also:
- Constant Field Values
-
ENVIRONMENTS_FOR_METHOD_IS_NOT_SET
public static final String ENVIRONMENTS_FOR_METHOD_IS_NOT_SET
Corresponding to validation issue that says - method wasn't defined for any environment- See Also:
- Constant Field Values
-
DUPLICATE_METHOD_NAME_IN_MODULE_EXTENSION
public static final String DUPLICATE_METHOD_NAME_IN_MODULE_EXTENSION
Corresponding to validation issue that says - duplicate method name in extension module. There is method in adoptable module with the same name- See Also:
- Constant Field Values
-
UNKNOWN_ADOPTABLE_METHOD_NAME_IN_MODULE_EXTENSION
public static final String UNKNOWN_ADOPTABLE_METHOD_NAME_IN_MODULE_EXTENSION
Corresponding to validation issue that says - Unknown adoptable method name. There is no method with the same name in adoptable module- See Also:
- Constant Field Values
-
NOT_ALLOWED_USE_ANNOTATION_FOR_FORM_EVENTS_IN_MODULE_EXTENSION
public static final String NOT_ALLOWED_USE_ANNOTATION_FOR_FORM_EVENTS_IN_MODULE_EXTENSION
Corresponding to validation issue that says - Not allowed use annotation for form event handlers- See Also:
- Constant Field Values
-
ANOTHER_METHOD_SIGNATURE_IN_MODULE_EXTENSION
public static final String ANOTHER_METHOD_SIGNATURE_IN_MODULE_EXTENSION
Corresponding to validation issue that says - Another method signature than in adoptable method. Number of parameters and type (procedure or function) should be equals for adoptable method and its extension- See Also:
- Constant Field Values
-
THERE_IS_ANOTHER_METHOD_WITH_THE_SAME_ANNOTATION_TYPE
public static final String THERE_IS_ANOTHER_METHOD_WITH_THE_SAME_ANNOTATION_TYPE
Corresponding to validation issue that says - there is another method(s) with the same annotation type for the adoptable method- See Also:
- Constant Field Values
-
ADOPTABLE_METHOD_SHOULD_NOT_BE_ANNOTATED_AS_AFTER_AND_AROUND
public static final String ADOPTABLE_METHOD_SHOULD_NOT_BE_ANNOTATED_AS_AFTER_AND_AROUND
Corresponding to validation issue that says - adoptable method shouldn't be annotated as After and Around in the same time- See Also:
- Constant Field Values
-
ADOPTABLE_METHOD_SHOULD_NOT_BE_ANNOTATED_AS_BEFORE_AND_AROUND
public static final String ADOPTABLE_METHOD_SHOULD_NOT_BE_ANNOTATED_AS_BEFORE_AND_AROUND
Corresponding to validation issue that says - adoptable method shouldn't be annotated as Before and Around in the same time- See Also:
- Constant Field Values
-
UNKNOWN_OPERATOR
public static final String UNKNOWN_OPERATOR
Corresponding to validation issue that says - unknown operator, not allowed call property or variable without anything action Example:Procedure example(Parameter, Parameter) a; EndProcedure
or if in case for incorrect syntax forRegionPreprocessor
Example:Procedure example(Parameter, Parameter) #RegionName #EndRegion EndProcedure
- See Also:
- Constant Field Values
-
OBJECT_IS_NOT_ACCESSIBLE_IN_COMPATIBILITY_MODE
public static final String OBJECT_IS_NOT_ACCESSIBLE_IN_COMPATIBILITY_MODE
Corresponding to validation issue that says - platform object has compatibility mode greater than current configuration compatibility mode- See Also:
- Constant Field Values
-
DEPRECATED_OBJECT
public static final String DEPRECATED_OBJECT
Corresponding to validation issue that says - platform object was marked as "deprecated" in comments- See Also:
- Constant Field Values
-
BUILTN_FUNCTION_IN_LEFT_PART_EXPRESSION
public static final String BUILTN_FUNCTION_IN_LEFT_PART_EXPRESSION
Corresponding to validation issue that says - function from global context called from left part of simple statementProcedure example(Parameter, Parameter) acos(1); EndProcedure
- See Also:
- Constant Field Values
-
UNKNOWN_METHOD_PROPERTY
public static final String UNKNOWN_METHOD_PROPERTY
Corresponding to validation issue that says - property or method getting from the dot operator unknownProcedure example(Parameter, Parameter) MyCommonModuleName.unknownMethodName(); EndProcedure
- See Also:
- Constant Field Values
-
PREPROCESSOR_INSTRUCTION_NOT_ALLOWED_IN_THIS_CONTEXT
public static final String PREPROCESSOR_INSTRUCTION_NOT_ALLOWED_IN_THIS_CONTEXT
Corresponding to validation issue that says - preprocessor instruction "#Insert" ("#Delete") is used not in extension module or actualVersion
is less or equalsVersion.V8_3_14
- See Also:
- Constant Field Values
-
NESTING_PREPROCESSOR_INSTRUCTION_DELETE_OR_INSERT_NOT_ALLOWED
public static final String NESTING_PREPROCESSOR_INSTRUCTION_DELETE_OR_INSERT_NOT_ALLOWED
Corresponding to validation issue that says - preprocessor instruction "#Insert" and "#Delete") cannot be nestedProcedure example(Parameter, Parameter) #Insert c = 1; #Delete q = 1; #EndDelete #EndInsert EndProcedure
- See Also:
- Constant Field Values
-
METHOD_TEXT_HAS_DIFFERENCES_TO_BASE_METHOD
public static final String METHOD_TEXT_HAS_DIFFERENCES_TO_BASE_METHOD
Corresponding to validation issue that says - if in extension method has pragma "ChangeAndValidate" its text should be equals to base method text. Method text is text without statements and instructions of preprocessor "#Insert" and without instruction of preprocessor "#Delete" (statements in "#Delete" preprocessor contains in method text)- See Also:
- Constant Field Values
-
RECORD_MANAGER_FOR_SUBORDINATE_RECORDER
public static final String RECORD_MANAGER_FOR_SUBORDINATE_RECORDER
Corresponding to validation issue that says - method "CreateRecordManager" was called for information register subordinate to recorder- See Also:
- Constant Field Values
-
ASYNC_METHOD_AVAILABLE_SINCE
public static final String ASYNC_METHOD_AVAILABLE_SINCE
Corresponding to validation issue that says - keyword "Async" using in project with version less than 8.3.18- See Also:
- Constant Field Values
-
ASYNC_METHOD_AVAILABLE_ONLY_FOR_CLIENT_CONTEXT
public static final String ASYNC_METHOD_AVAILABLE_ONLY_FOR_CLIENT_CONTEXT
Corresponding to validation issue that says - keyword "Async" using for non client method- See Also:
- Constant Field Values
-
AWAIT_EXPRESSION_ALLOWED_ONLY_IN_ASYNC_METHOD
public static final String AWAIT_EXPRESSION_ALLOWED_ONLY_IN_ASYNC_METHOD
Corresponding to validation issue that says - keyword "Await" using in non async method- See Also:
- Constant Field Values
-
MOBILE_STANDALONE_SERVER_AVAILABLE_SINCE
public static final String MOBILE_STANDALONE_SERVER_AVAILABLE_SINCE
Corresponding to validation issue that says - keyword "MobileStandaloneServer" using in project with version less than 8.3.16- See Also:
- Constant Field Values
-
-