List of usage examples for twitter4j TwitterMethod DIRECT_MESSAGES
TwitterMethod DIRECT_MESSAGES
To view the source code for twitter4j TwitterMethod DIRECT_MESSAGES.
Click Source Link
From source file:com.marpies.ane.twitter.functions.GetDirectMessagesFunction.java
License:Apache License
@Override public void onException(TwitterException te, TwitterMethod method) { if (method == TwitterMethod.DIRECT_MESSAGES) { AIR.log("DIRECT MESSAGES QUERY ERROR " + te.getMessage()); AIR.dispatchEvent(AIRTwitterEvent.DIRECT_MESSAGES_QUERY_ERROR, StringUtils.getEventErrorJSON(mCallbackID, te.getMessage())); }//ww w. j a va 2 s. c om }