Product Information > JADE Error Messages and System Messages > 6000 through 6999 - JADE Compiler Errors > 6277 - This is not allowed in conditions

6277   This is not allowed in conditions

Cause

This error occurs if there is an attempt to use a JADE language feature that is not allowed in condition methods. Condition methods must have the following syntax.

condition-name(optional-parameters): Boolean condition;
[constants
    constant-declarations]
begin
    condition-instructions;
end;

The condition-instructions can specify only the if and return instructions.

In addition, a condition method cannot perform the following.

This error can also occur for a method with the conditionSafe method option. A conditionSafe method is often used for a virtual property in an RPS mapping.

Action

Change the condition method to conform to the above rules. If you do not intend the method to be a condition method, remove the condition option from the method signature.