Example usage for twitter4j TwitterMethod RETWEET_STATUS

List of usage examples for twitter4j TwitterMethod RETWEET_STATUS

Introduction

In this page you can find the example usage for twitter4j TwitterMethod RETWEET_STATUS.

Prototype

TwitterMethod RETWEET_STATUS

To view the source code for twitter4j TwitterMethod RETWEET_STATUS.

Click Source Link

Usage

From source file:com.marpies.ane.twitter.functions.RetweetStatusFunction.java

License:Apache License

@Override
public void onException(TwitterException te, TwitterMethod method) {
    if (method == TwitterMethod.RETWEET_STATUS) {
        AIR.log("Error retweeting status: " + te.getMessage());
        AIR.dispatchEvent(AIRTwitterEvent.STATUS_QUERY_ERROR,
                StringUtils.getEventErrorJSON(mCallbackID, te.getMessage()));
    }//from   w w w  .ja  va2  s  .c o m
}