-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Audience hit processor #6
Conversation
code/audience/src/main/java/com/adobe/marketing/mobile/audience/AudienceConstants.java
Outdated
Show resolved
Hide resolved
Event event = EventCoder.decode(eventString); | ||
|
||
return new AudienceDataEntity(event, url, timeout); | ||
} catch (JSONException | IllegalArgumentException e) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what code in this block throws IllegalArgumentException
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only on the creation of AudienceDataEntity https://github.com/adobe/aepsdk-audience-android/pull/6/files#diff-a330c3589eb660a69ac4bbf9ca8273377de965b395642c7a24b4b2cd870d175eR50-R52
This may occur in exceptional cases if the event decoder failed to read a previously stored event https://github.com/adobe/aepsdk-core-android/blob/staging/code/android-core-library/src/main/java/com/adobe/marketing/mobile/EventCoder.java#L41
Description
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: