Sybase Unwired WorkSpace (Eclipse) mobile business object
(MBO) validation rules and error messages are divided into sections based on where in the
MBO development cycle the validation rule applies.
Some errors and warnings are generated when you violate a validation rule, while others may occur during code generation, deployment, or when used within the device application, in which the error might not be obvious.
Error information includes:
- Severity and message – there are two types of messages generated if a validation error occurs:
-
Warning messages – A nonfatal error that requires attention, or a failure may occur at a later time.
-
Error messages – the operation being performed fails. You must resolve the error.
- Message - the actual error message, if any, that is generated if the validation rule is violated.
- Action – any additional details regarding the validation rule and how to resolve the error.
Note: You can identify some validation errors in
Sybase Unwired WorkSpace by the warning or error icon that appears within
the context of the error. For example:
- In the Properties view, if you add an unmapped parameter to an
attribute, a warning icon and message appear. The same warning icon also appears
in the header of the MBO in the Mobile Application Diagram.
- Mobile application project folders in WorkSpace Navigator
display warning or error icons for invalid objects within the folder (MBOs,
roles, personalization keys, and so on). You can isolate the error by expanding
the folder until you reach the object with the error.
Other types of errors, for example deployment errors, generate messages.
In general, be aware of warning and error icons and messages, and
resolve them early in the development cycle to ensure proper deployment, code
generation, and device application function.