MissingFieldException
com.salesforce.marketingcloud.pushmodels.exceptions
Push Models Module v1.0.2
Thrown when a required field is missing from push notification JSON.
- Target: androidJvm
- SDK Version: 11.0.0
Creates a new MissingFieldException for a required field that was not found in the push notification data.
Parameters:
fieldName: String - The name of the missing required field
This exception is part of the Salesforce Marketing Cloud Unified SDK and is used specifically for handling errors when parsing push notification data that lacks required fields. It extends PushException to provide specific error handling for missing field scenarios in push notification processing.