#
41f47e77
|
| 18-Sep-2025 |
Rekha Aparna <vrekhaaparna@ibm.com> |
Handle exceptions from JSON utility APIs
This commit adds proper handling for exceptions thrown by JSON utility APIs. In some cases, input parameters were being accessed directly from the JSON objec
Handle exceptions from JSON utility APIs
This commit adds proper handling for exceptions thrown by JSON utility APIs. In some cases, input parameters were being accessed directly from the JSON object without verifying their presence, leading to potential exceptions. This commit ensures safer access to JSON fields to prevent such errors.
Change-Id: I0ae17b3186bf868ea5e0c2e6765dafc76d962f27 Signed-off-by: Rekha Aparna <vrekhaaparna@ibm.com>
show more ...
|
#
2d6f071a
|
| 02-Sep-2025 |
Rekha Aparna <vrekhaaparna@ibm.com> |
set error code for getAllPathsToUpdateKeyword API
This commit updates getAllPathsToUpdateKeyword API to set error code in case of error. This helps caller of API to take action based on the error co
set error code for getAllPathsToUpdateKeyword API
This commit updates getAllPathsToUpdateKeyword API to set error code in case of error. This helps caller of API to take action based on the error code returned from the API.
Change-Id: Id28885aee47adccb19ecdc6522a0061778ac0479 Signed-off-by: Rekha Aparna <vrekhaaparna@ibm.com>
show more ...
|
#
e0d24c0c
|
| 02-Sep-2025 |
Rekha Aparna <vrekhaaparna@ibm.com> |
set error code for getServiceName API
This commit updates getServiceName API to set error code in case of error. This helps caller of API to take action based on the error code returned from the API
set error code for getServiceName API
This commit updates getServiceName API to set error code in case of error. This helps caller of API to take action based on the error code returned from the API.
Change-Id: I0146ca08a9cedfcb5f77fcda6fe00637a15ab281 Signed-off-by: Rekha Aparna <vrekhaaparna@ibm.com>
show more ...
|
#
ad7e25e9
|
| 04-Sep-2025 |
Sunny Srivastava <sunnsr25@in.ibm.com> |
Defining error codes as enum
The error codes has been moved under enum because of following benefit. As the number against error codes were not specifying anything. Overhead of maintaining unique nu
Defining error codes as enum
The error codes has been moved under enum because of following benefit. As the number against error codes were not specifying anything. Overhead of maintaining unique number for each error code goes away.
Change-Id: Id2133c85306c7b65bb3a0ac1d622dda813f2256b Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>
show more ...
|
#
84c3d23f
|
| 03-Sep-2025 |
Sunny Srivastava <sunnsr25@in.ibm.com> |
Error code handling in processing specific tags
The change implements error code to handle failure while processing some of the JSON tags. Going forward, error code will be used by the caller to ide
Error code handling in processing specific tags
The change implements error code to handle failure while processing some of the JSON tags. Going forward, error code will be used by the caller to identify the type of failure that occurred while processing the tags and based on that appropriate action will be taken.
Change-Id: I95783836d8829f0d50459a26da37a2e4e21638f5 Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>
show more ...
|
#
ca9a0866
|
| 29-Aug-2025 |
Rekha Aparna <vrekhaaparna@ibm.com> |
Set error code for getParsedJson API
This commit updates getParsedJson API to set error codes in case of error. This helps caller of the API to take action based on the error code returned from the
Set error code for getParsedJson API
This commit updates getParsedJson API to set error codes in case of error. This helps caller of the API to take action based on the error code returned from the API.
Change-Id: I0b88806bbc2201ae162e1714613fa6a9bfe3df9d Signed-off-by: Rekha Aparna <vrekhaaparna@ibm.com>
show more ...
|
#
017567ad
|
| 13-Aug-2025 |
Rekha Aparna <vrekhaaparna@ibm.com> |
Update json_utility APIs with error codes
This commit updates API getVPDOffset and getInventoryObjPathFromJson to set error codes in case of errors/exceptions. This helps caller of the APIs to take
Update json_utility APIs with error codes
This commit updates API getVPDOffset and getInventoryObjPathFromJson to set error codes in case of errors/exceptions. This helps caller of the APIs to take action based on the error code returned from the API.
Change-Id: Icfe2640ee311d61e83ca302e5199ce4dd1057c8b Signed-off-by: Rekha Aparna <vrekhaaparna@ibm.com>
show more ...
|
#
9443af22
|
| 28-Aug-2025 |
Rekha Aparna <vrekhaaparna@ibm.com> |
Define map linking error codes to error messages
This commit defines a map that associate error code with human readable error messages, allows direct lookup and eliminates the need for conditional
Define map linking error codes to error messages
This commit defines a map that associate error code with human readable error messages, allows direct lookup and eliminates the need for conditional checks. Improves code clarity and maintainability.
Change-Id: I47fe8ef7e208d9a2917758e78a5222577b218405 Signed-off-by: Rekha Aparna <vrekhaaparna@ibm.com>
show more ...
|
#
5e3ff854
|
| 12-Aug-2025 |
Rekha Aparna <vrekhaaparna@ibm.com> |
Define error codes for json_utility API's
This commit defines error codes for the errors that can be thrown by json_utility APIs.
Change-Id: If783c6389d14fcba45662facfc98574643d7fe5c Signed-off-by:
Define error codes for json_utility API's
This commit defines error codes for the errors that can be thrown by json_utility APIs.
Change-Id: If783c6389d14fcba45662facfc98574643d7fe5c Signed-off-by: Rekha Aparna <vrekhaaparna@ibm.com>
show more ...
|