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