Package com.mixpanel.mixpanelapi
Class MixpanelMessageException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.mixpanel.mixpanelapi.MixpanelMessageException
-
- All Implemented Interfaces:
Serializable
public class MixpanelMessageException extends RuntimeException
Thrown when the library detects malformed or invalid Mixpanel messages. Mixpanel messages are represented as JSONObjects, but not all JSONObjects represent valid Mixpanel messages. MixpanelMessageExceptions are thrown when a JSONObject is passed to the Mixpanel library that can't be passed on to the Mixpanel service. This is a runtime exception, since in most cases it is thrown due to errors in your application architecture.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.json.JSONObjectgetBadMessage()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-