Handle object model errors
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
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:

| Class | Description |
|---|---|
Progress.Json.JsonError
|
A JsonError is raised when a failure specific to the |
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 ABL Reference.