com.mixpanel.mixpanelapi
Class MixpanelServerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by com.mixpanel.mixpanelapi.MixpanelServerException
All Implemented Interfaces:
Serializable

public class MixpanelServerException
extends IOException

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.

See Also:
Serialized Form

Constructor Summary
MixpanelServerException(String message, List<org.json.JSONObject> badDelivery)
           
 
Method Summary
 List<org.json.JSONObject> getBadDeliveryContents()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MixpanelServerException

public MixpanelServerException(String message,
                               List<org.json.JSONObject> badDelivery)
Method Detail

getBadDeliveryContents

public List<org.json.JSONObject> getBadDeliveryContents()


Copyright © 2014. All Rights Reserved.