Example usage for twitter4j TwitterMethod USER_TIMELINE

List of usage examples for twitter4j TwitterMethod USER_TIMELINE

Introduction

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

Prototype

TwitterMethod USER_TIMELINE

To view the source code for twitter4j TwitterMethod USER_TIMELINE.

Click Source Link

Usage

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

License:Apache License

@Override
public void onException(TwitterException te, TwitterMethod method) {
    if (method == TwitterMethod.USER_TIMELINE) {
        AIR.log("USER TIMELINE ERROR " + te.getMessage());
        AIR.dispatchEvent(AIRTwitterEvent.TIMELINE_QUERY_ERROR,
                StringUtils.getEventErrorJSON(mCallbackID, te.getMessage()));
    }/*from w  w  w  .  ja va2  s  . c  o  m*/
}