ABL provides classes to raise errors when a failure specific to the Progress.Json family of packages occurs. For example, a JsonError is raised when a parameter's value is out of the permissible range for a JsonArray or a reference is made to a non-existent property in a JsonObject. The following table describes the available classes for handling object model errors.
The following figure shows the inheritance relationship between the various error classes:
Figure 3. Error class hierarchy
Table 3. JSON classes for object model errors
Class
Description
Progress.Json.JsonError
A JsonError is raised when a failure specific to the Progress.Json family of packages occurs.
Progress.Json.JsonParserError
A JsonParserError is raised when the syntax of the JSON being parsed is incorrect.
For more information, see the descriptions of these classes in OpenEdge Development: ABL Reference.