com.mixpanel.mixpanelapi.MixpanelServerException Maven / Gradle / Ivy
package com.mixpanel.mixpanelapi;
import java.io.IOException;
import java.util.List;
import org.json.JSONObject;
/**
* Thrown when the Mixpanel server refuses to accept a set of messages.
*
* This exception can be thrown when messages are too large,
* event times are too old to accept, the api key is invalid, etc.
*/
public class MixpanelServerException extends IOException {
private static final long serialVersionUID = 8230724556897575457L;
public MixpanelServerException(String message, List badDelivery) {
super(message);
mBadDelivery = badDelivery;
}
public List getBadDeliveryContents() {
return mBadDelivery;
}
private final List mBadDelivery;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy