InvalidJsonException

com.salesforce.marketingcloud.pushmodels.exceptions

An exception class thrown when push notification JSON has invalid structure or syntax.

  • Extends: PushException

Creates a new InvalidJsonException with the specified error message.

Parameters:

  • message: String - The detail message describing the invalid JSON error