Rational Programming Patterns

-GE Lines of a Data Element

These lines are related to the error messages displayed after an error on a Data Element called in a Logical View. You can overwrite the standard error messages or indicate error messages associated with errors described with specific code. These messages are then displayed for all the Logical Views that call this Data Element.

However you can modify these messages in the following tabs:
  • -GE Lines of the Data Element call (-CE Lines) in the Logical View. These new messages are then displayed in this particular Logical View.
  • -GE Lines of the Business Component related to the Logical View call. These new messages are then displayed in this Logical View that is called in this Business Component.
Error
This column displays a dot on all the existing description lines that are not empty.

Moreover, if this line is not correct, this column also displays an error or warning symbol, depending on the severity of the error. A hover help indicates the source of the error.

Type
Click the Add button (or select this action in the contextual menu) and select a U type line. Only this line type is recognized on a Data Element.
Description
To overwrite the standard error messages, you must indicate the following elements:
  • The number of the standard error type (column 4):
    • 2 for an invalid absence of the Data Element
    • 3 for an invalid presence of the Data Element
    • 4 for an erroneous class of the Data Element
    • 5 for an erroneous value of the Data Element
  • The message associated with this error (from column 6)
To specify error messages associated with errors described with specific code, you must indicate the following elements:
  • The error code on four characters (columns 1 - 4) as used in the specific code
  • The severity of the error on one character (column 5): E for an error or W for a warning
  • The message associated with this error (from column 6)
Link
This field is not used.

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)