Uses of Class
twitter4j.TwitterException

Packages that use TwitterException
twitter4j   
twitter4j.examples   
twitter4j.http   
 

Uses of TwitterException in twitter4j
 

Methods in twitter4j with parameters of type TwitterException
 void TwitterListener.onException(TwitterException te, int method)
           
 void TwitterAdapter.onException(TwitterException ex, int method)
           
 

Methods in twitter4j that throw TwitterException
 void TwitterStream.birddog(int count, int[] follow)
          Starts listening on public statuses from a specified set of users, by ID.
 User Twitter.block(java.lang.String id)
          Deprecated. Use createBlock(String id) instead
static java.util.List<User> User.constructUsers(Response res, Twitter twitter)
           
 User Twitter.create(java.lang.String id)
          Deprecated. Use createFriendship(String id) instead
 User Twitter.createBlock(java.lang.String id)
          Blocks the user specified in the ID parameter as the authenticating user.
 Status Twitter.createFavorite(long id)
          Favorites the status specified in the ID parameter as the authenticating user.
 User Twitter.createFriendship(java.lang.String id)
          Befriends the user specified in the ID parameter as the authenticating user.
 User Twitter.createFriendship(java.lang.String id, boolean follow)
          Befriends the user specified in the ID parameter as the authenticating user.
 DirectMessage Twitter.deleteDirectMessage(int id)
          Deprecated. Use destroyDirectMessage(int id) instead
 User Twitter.destroy(java.lang.String id)
          Deprecated. Use destroyFriendship(String id) instead
 User Twitter.destroyBlock(java.lang.String id)
          Un-blocks the user specified in the ID parameter as the authenticating user.
 DirectMessage Twitter.destroyDirectMessage(int id)
          Destroys the direct message specified in the required ID parameter.
 Status Twitter.destroyFavorite(long id)
          Un-favorites the status specified in the ID parameter as the authenticating user.
 User Twitter.destroyFriendship(java.lang.String id)
          Discontinues friendship with the user specified in the ID parameter as the authenticating user.
 Status Twitter.destroyStatus(long statusId)
          Destroys the status specified by the required ID parameter.
 User Twitter.disableNotification(java.lang.String id)
          Disables notifications for updates from the specified user to the authenticating user.
 User Twitter.enableNotification(java.lang.String id)
          Enables notifications for updates from the specified user to the authenticating user.
protected static void TwitterResponse.ensureRootNodeNameIs(java.lang.String[] rootNames, org.w3c.dom.Element elem)
           
protected static void TwitterResponse.ensureRootNodeNameIs(java.lang.String rootName, org.w3c.dom.Document doc)
           
protected static void TwitterResponse.ensureRootNodeNameIs(java.lang.String rootName, org.w3c.dom.Element elem)
           
 boolean Twitter.exists(java.lang.String userA, java.lang.String userB)
          Deprecated. Use friendshipExists(String userA, String userB)
 boolean Twitter.existsBlock(java.lang.String id)
          Tests if a friendship exists between two users.
 boolean Twitter.existsFriendship(java.lang.String userA, java.lang.String userB)
          Tests if a friendship exists between two users.
 java.util.List<Status> Twitter.favorites()
          Deprecated. Use getFavorited() instead
 java.util.List<Status> Twitter.favorites(int page)
          Deprecated. Use getFavorites(int page) instead
 java.util.List<Status> Twitter.favorites(java.lang.String id)
          Deprecated. Use getFavorites(String id) instead
 java.util.List<Status> Twitter.favorites(java.lang.String id, int page)
          Deprecated. Use getFavorites(String id, int page) instead
 void TwitterStream.firehose(int count)
          Starts listening on all public statuses.
 void TwitterStream.follow(int[] follow)
          See birddog above.
 User Twitter.follow(java.lang.String id)
          Deprecated. Use enableNotification(String id) instead
 void TwitterStream.gardenhose()
          Starts listening on a percentage of all public statuses, suitable for data mining and research applications that require a statistically significant sample.
protected  Response Twitter.get(java.lang.String url, PostParameter[] params, boolean authenticate)
          Issues an HTTP GET request.
protected  Response Twitter.get(java.lang.String url, PostParameter[] params, Paging paging, boolean authenticate)
          Issues an HTTP GET request.
protected  Response Twitter.get(java.lang.String url, java.lang.String name1, java.lang.String value1, boolean authenticate)
          Issues an HTTP GET request.
protected  Response Twitter.get(java.lang.String url, java.lang.String name1, java.lang.String value1, java.lang.String name2, java.lang.String value2, boolean authenticate)
          Issues an HTTP GET request.
 User Twitter.getAuthenticatedUser()
          Deprecated. Use verifyCredentials() instead
 StatusStream TwitterStream.getBirddogStream(int count, int[] follow)
          Returns a status stream for public statuses from a specified set of users, by ID.
 java.util.List<User> Twitter.getBlockingUsers()
          Returns a list of user objects that the authenticating user is blocking.
 java.util.List<User> Twitter.getBlockingUsers(int page)
          Returns a list of user objects that the authenticating user is blocking.
 void AsyncTwitter.getBlockingUsersAsync(int page, TwitterListener listener)
          Returns a list of user objects that the authenticating user is blocking.
 void AsyncTwitter.getBlockingUsersAsync(TwitterListener listener)
          Returns a list of user objects that the authenticating user is blocking.
 IDs Twitter.getBlockingUsersIDs()
          Returns an array of numeric user ids the authenticating user is blocking.
 void AsyncTwitter.getBlockingUsersIDsAsync(TwitterListener listener)
          Returns an array of numeric user ids the authenticating user is blocking.
protected static java.util.Date TwitterResponse.getChildDate(java.lang.String str, org.w3c.dom.Element elem)
           
protected static java.util.Date TwitterResponse.getChildDate(java.lang.String str, org.w3c.dom.Element elem, java.lang.String format)
           
 Trends Twitter.getCurrentTrends()
          Returns the current top 10 trending topics on Twitter.
 Trends Twitter.getCurrentTrends(boolean excludeHashTags)
          Returns the current top 10 trending topics on Twitter.
 java.util.List<Trends> Twitter.getDailyTrends()
          Returns the top 20 trending topics for each hour in a given day.
 java.util.List<Trends> Twitter.getDailyTrends(java.util.Date date, boolean excludeHashTags)
          Returns the top 20 trending topics for each hour in a given day.
 java.util.List<DirectMessage> Twitter.getDirectMessages()
          Returns a list of the direct messages sent to the authenticating user.
 java.util.List<DirectMessage> Twitter.getDirectMessages(java.util.Date since)
          Deprecated. Use getDirectMessages(Paging paging) instead
 java.util.List<DirectMessage> Twitter.getDirectMessages(int sinceId)
          Deprecated. Use getDirectMessages(Paging paging) instead
 java.util.List<DirectMessage> Twitter.getDirectMessages(int page, int sinceId)
          Deprecated. Use getDirectMessages(Paging paging) instead
 java.util.List<DirectMessage> Twitter.getDirectMessages(Paging paging)
          Returns a list of the direct messages sent to the authenticating user.
 java.util.List<DirectMessage> Twitter.getDirectMessagesByPage(int page)
          Deprecated. Use getDirectMessages(Paging paging) instead
 java.lang.String Twitter.getDowntimeSchedule()
          Deprecated. this method is not supported by the Twitter API anymore
 java.util.List<Status> Twitter.getFavorites()
          Returns the 20 most recent favorite statuses for the authenticating user or user specified by the ID parameter in the requested format.
 java.util.List<Status> Twitter.getFavorites(int page)
          Returns the 20 most recent favorite statuses for the authenticating user or user specified by the ID parameter in the requested format.
 java.util.List<Status> Twitter.getFavorites(java.lang.String id)
          Returns the 20 most recent favorite statuses for the authenticating user or user specified by the ID parameter in the requested format.
 java.util.List<Status> Twitter.getFavorites(java.lang.String id, int page)
          Returns the 20 most recent favorite statuses for the authenticating user or user specified by the ID parameter in the requested format.
 java.util.List<User> Twitter.getFeatured()
          Returns a list of the users currently featured on the site with their current statuses inline.
 StatusStream TwitterStream.getFirehoseStream(int count)
          Returns a status stream for all public statuses.
 java.util.List<User> Twitter.getFollowers()
          Returns the authenticating user's followers, each with current status inline.
 java.util.List<User> Twitter.getFollowers(int page)
          Deprecated. Use getFollowers(Paging paging) instead
 java.util.List<User> Twitter.getFollowers(Paging paging)
          Returns the authenticating user's followers, each with current status inline.
 java.util.List<User> Twitter.getFollowers(java.lang.String id)
          Returns the authenticating user's followers, each with current status inline.
 java.util.List<User> Twitter.getFollowers(java.lang.String id, int page)
          Deprecated. Use getFollowers(String id, Paging paging) instead
 java.util.List<User> Twitter.getFollowers(java.lang.String id, Paging paging)
          Returns the authenticating user's followers, each with current status inline.
 IDs Twitter.getFollowersIDs()
          Returns an array of numeric IDs for every user the specified user is followed by.
 IDs Twitter.getFollowersIDs(int userId)
          Returns an array of numeric IDs for every user the specified user is followed by.
 IDs Twitter.getFollowersIDs(int userId, Paging paging)
          Returns an array of numeric IDs for every user the specified user is followed by.
 IDs Twitter.getFollowersIDs(Paging paging)
          Returns an array of numeric IDs for every user the specified user is followed by.
 IDs Twitter.getFollowersIDs(java.lang.String screenName)
          Returns an array of numeric IDs for every user the specified user is followed by.
 IDs Twitter.getFollowersIDs(java.lang.String screenName, Paging paging)
          Returns an array of numeric IDs for every user the specified user is followed by.
 void AsyncTwitter.getFollowersIDsAsync(java.lang.String screenName, Paging paging, TwitterListener listener)
          Returns an array of numeric IDs for every user the specified user is followed by.
 void AsyncTwitter.getFollowersIDsAsync(java.lang.String screenName, TwitterListener listener)
          Returns an array of numeric IDs for every user the specified user is followed by.
 StatusStream TwitterStream.getFollowStream(int[] follow)
          See birddog above.
 java.util.List<User> Twitter.getFriends()
          Returns the specified user's friends, each with current status inline.
 java.util.List<User> Twitter.getFriends(int page)
          Deprecated. Use getFriends(Paging paging) instead
 java.util.List<User> Twitter.getFriends(Paging paging)
          Returns the specified user's friends, each with current status inline.
 java.util.List<User> Twitter.getFriends(java.lang.String id)
          Returns the user's friends, each with current status inline.
 java.util.List<User> Twitter.getFriends(java.lang.String id, int page)
          Deprecated. Use getFriends(String id, Paging paging) instead
 java.util.List<User> Twitter.getFriends(java.lang.String id, Paging paging)
          Returns the user's friends, each with current status inline.
 IDs Twitter.getFriendsIDs()
          Returns an array of numeric IDs for every user the authenticating user is following.
 IDs Twitter.getFriendsIDs(int userId)
          Returns an array of numeric IDs for every user the specified user is following.
 IDs Twitter.getFriendsIDs(int userId, Paging paging)
          Returns an array of numeric IDs for every user the specified user is following.
 IDs Twitter.getFriendsIDs(Paging paging)
          Returns an array of numeric IDs for every user the authenticating user is following.
 IDs Twitter.getFriendsIDs(java.lang.String screenName)
          Returns an array of numeric IDs for every user the specified user is following.
 IDs Twitter.getFriendsIDs(java.lang.String screenName, Paging paging)
          Returns an array of numeric IDs for every user the specified user is following.
 java.util.List<Status> Twitter.getFriendsTimeline()
          Returns the 20 most recent statuses posted in the last 24 hours from the authenticating1 user and that user's friends.
 java.util.List<Status> Twitter.getFriendsTimeline(java.util.Date since)
          Deprecated. Use getFriendsTimeline(Paging paging) instead
 java.util.List<Status> Twitter.getFriendsTimeline(int page)
          Deprecated. Use getFriendsTimeline(Paging paging) instead
 java.util.List<Status> Twitter.getFriendsTimeline(long sinceId)
          Deprecated. Use getFriendsTimeline(Paging paging) instead
 java.util.List<Status> Twitter.getFriendsTimeline(long sinceId, int page)
          Deprecated. Use getFriendsTimeline(Paging paging) instead
 java.util.List<Status> Twitter.getFriendsTimeline(long sinceId, java.lang.String id, int page)
          Deprecated. Use getFriendsTimeline(String id, Paging paging) instead
 java.util.List<Status> Twitter.getFriendsTimeline(Paging paging)
          Returns the 20 most recent statuses posted in the last 24 hours from the specified userid.
 java.util.List<Status> Twitter.getFriendsTimeline(java.lang.String id)
          Returns the 20 most recent statuses posted in the last 24 hours from the specified userid.
 java.util.List<Status> Twitter.getFriendsTimeline(java.lang.String id, java.util.Date since)
          Deprecated. Use getFriendsTimeline(String id, Paging paging) instead
 java.util.List<Status> Twitter.getFriendsTimeline(java.lang.String id, int page)
          Deprecated. Use getFriendsTimeline(String id, Paging paging) instead
 java.util.List<Status> Twitter.getFriendsTimeline(java.lang.String id, long sinceId)
          Deprecated. Use getFriendsTimeline(String id, Paging paging) instead
 java.util.List<Status> Twitter.getFriendsTimeline(java.lang.String id, Paging paging)
          Returns the 20 most recent statuses posted in the last 24 hours from the specified userid.
 java.util.List<Status> Twitter.getFriendsTimelineByPage(int page)
          Deprecated. Use getFriendsTimeline(Paging paging) instead
 java.util.List<Status> Twitter.getFriendsTimelineByPage(java.lang.String id, int page)
          Deprecated. Use getFriendsTimeline(String id, Paging paging) instead
 StatusStream TwitterStream.getGardenhoseStream()
          Returns a status stream for a percentage of all public statuses, suitable for data mining and research applications that require a statistically significant sample.
 java.util.List<Status> Twitter.getMentions()
          Returns the 20 most recent mentions (status containing @username) for the authenticating user.
 java.util.List<Status> Twitter.getMentions(Paging paging)
          Returns the 20 most recent mentions (status containing @username) for the authenticating user.
 AccessToken Twitter.getOAuthAccessToken(RequestToken requestToken)
          Retrieves an access token assosiated with the supplied request token.
 AccessToken Twitter.getOAuthAccessToken(java.lang.String token, java.lang.String tokenSecret)
          Retrieves an access token assosiated with the supplied request token.
 RequestToken Twitter.getOAuthRequestToken()
          Retrieves a request token
 java.util.List<Status> Twitter.getPublicTimeline()
          Returns the 20 most recent statuses from non-protected users who have set a custom user icon.
 java.util.List<Status> Twitter.getPublicTimeline(int sinceID)
          Returns only public statuses with an ID greater than (that is, more recent than) the specified ID.
 java.util.List<Status> Twitter.getReplies()
          Deprecated. Use getMentions() instead
 java.util.List<Status> Twitter.getReplies(int page)
          Deprecated. Use getMentions(Paging paging) instead
 java.util.List<Status> Twitter.getReplies(long sinceId)
          Deprecated. Use getMentions(Paging paging) instead
 java.util.List<Status> Twitter.getReplies(long sinceId, int page)
          Deprecated. Use getMentions(Paging paging) instead
 java.util.List<Status> Twitter.getRepliesByPage(int page)
          Deprecated. Use getMentions(Paging paging) instead
 java.util.List<DirectMessage> Twitter.getSentDirectMessages()
          Returns a list of the direct messages sent by the authenticating user.
 java.util.List<DirectMessage> Twitter.getSentDirectMessages(java.util.Date since)
          Deprecated. using long sinceId is suggested.
 java.util.List<DirectMessage> Twitter.getSentDirectMessages(int sinceId)
          Deprecated. Use getSentDirectMessages(Paging paging) instead
 java.util.List<DirectMessage> Twitter.getSentDirectMessages(int page, int sinceId)
          Deprecated. Use getSentDirectMessages(Paging paging) instead
 java.util.List<DirectMessage> Twitter.getSentDirectMessages(Paging paging)
          Returns a list of the direct messages sent by the authenticating user.
 StatusStream TwitterStream.getShadowStream(int count, int[] follow)
          See birddog above.
 StatusStream TwitterStream.getSpritzerStream()
          Returns a status stream for a percentage of all public statuses, suitable for small projects that don't require a statistically significant sample.
 Trends Twitter.getTrends()
          Returns the top ten topics that are currently trending on Twitter.
 User Twitter.getUserDetail(java.lang.String id)
          Returns extended information of a given user, specified by ID or screen name as per the required id parameter below.
 java.util.List<Status> Twitter.getUserTimeline()
          Returns the most recent statuses posted in the last 24 hours from the authenticating user.
 java.util.List<Status> Twitter.getUserTimeline(int count, java.util.Date since)
          Deprecated. using long sinceId is suggested.
 java.util.List<Status> Twitter.getUserTimeline(int count, long sinceId)
          Deprecated. Use getUserTimeline(String id, Paging paging) instead
 java.util.List<Status> Twitter.getUserTimeline(long sinceId)
          Deprecated. Use getUserTimeline(Paging paging) instead
 java.util.List<Status> Twitter.getUserTimeline(Paging paging)
          Returns the most recent statuses posted in the last 24 hours from the authenticating user.
 java.util.List<Status> Twitter.getUserTimeline(java.lang.String id)
          Returns the most recent statuses posted in the last 24 hours from the specified userid.
 java.util.List<Status> Twitter.getUserTimeline(java.lang.String id, java.util.Date since)
          Deprecated. Use getUserTimeline(String id, Paging paging) instead
 java.util.List<Status> Twitter.getUserTimeline(java.lang.String id, int count)
          Deprecated. Use getUserTimeline(String id, Paging paging) instead
 java.util.List<Status> Twitter.getUserTimeline(java.lang.String id, int count, java.util.Date since)
          Deprecated. using long sinceId is suggested.
 java.util.List<Status> Twitter.getUserTimeline(java.lang.String id, int count, long sinceId)
          Returns the most recent statuses posted in the last 24 hours from the specified userid.
 java.util.List<Status> Twitter.getUserTimeline(java.lang.String id, long sinceId)
          Deprecated. Use getUserTimeline(String id, Paging paging) instead
 java.util.List<Status> Twitter.getUserTimeline(java.lang.String id, Paging paging)
          Returns the most recent statuses posted in the last 24 hours from the specified userid.
 java.util.List<Trends> Twitter.getWeeklyTrends()
          Returns the top 30 trending topics for each day in a given week.
 java.util.List<Trends> Twitter.getWeeklyTrends(java.util.Date date, boolean excludeHashTags)
          Returns the top 30 trending topics for each day in a given week.
 User Twitter.leave(java.lang.String id)
          Deprecated. Use disableNotification(String id) instead
 Status StatusStream.next()
           
protected static java.util.Date TwitterResponse.parseDate(java.lang.String str, java.lang.String format)
           
 RateLimitStatus Twitter.rateLimitStatus()
          Returns the remaining number of API requests available to the requesting user before the API limit is reached for the current hour.
 QueryResult Twitter.search(Query query)
          Returns tweets that match a specified query.
 DirectMessage User.sendDirectMessage(java.lang.String text)
           
 DirectMessage Twitter.sendDirectMessage(java.lang.String id, java.lang.String text)
          Sends a new direct message to the specified user from the authenticating user.
 void TwitterStream.shadow(int count, int[] follow)
          See birddog above.
 Status Twitter.show(int id)
          Deprecated. Use showStatus(long id) instead.
 Status Twitter.show(long id)
          Deprecated. Use showStatus(long id) instead.
 Status Twitter.showStatus(long id)
          Returns a single status, specified by the id parameter.
 void TwitterStream.spritzer()
          Starts listening on a percentage of all public statuses, suitable for small projects that don't require a statistically significant sample.
 boolean Twitter.test()
          Returns the string "ok" in the requested format with a 200 OK HTTP status code.
 User Twitter.unblock(java.lang.String id)
          Deprecated. Use destroyBlock(String id) instead
 Status Twitter.update(java.lang.String status)
          Deprecated. Use updateStatus(String status) instead
 Status Twitter.update(java.lang.String status, long inReplyToStatusId)
          Deprecated. Use updateStatus(String status, long inReplyToStatusId) instead
 User Twitter.updateDeliverlyDevice(twitter4j.Twitter.Device device)
          Sets which device Twitter delivers updates to for the authenticating user.
 User Twitter.updateLocation(java.lang.String location)
          Deprecated. Use updateProfile(String name, String email, String url, String location, String description) instead
 User Twitter.updateProfile(java.lang.String name, java.lang.String email, java.lang.String url, java.lang.String location, java.lang.String description)
          Sets values that users are able to set under the "Account" tab of their settings page.
 User Twitter.updateProfileColors(java.lang.String profileBackgroundColor, java.lang.String profileTextColor, java.lang.String profileLinkColor, java.lang.String profileSidebarFillColor, java.lang.String profileSidebarBorderColor)
          Sets one or more hex values that control the color scheme of the authenticating user's profile page on twitter.com.
 Status Twitter.updateStatus(java.lang.String status)
          Updates the user's status.
 Status Twitter.updateStatus(java.lang.String status, long inReplyToStatusId)
          Updates the user's status.
 User Twitter.verifyCredentials()
          Returns an HTTP 200 OK response code and a representation of the requesting user if authentication was successful; returns a 401 status code and an error message if not.
 

Constructors in twitter4j that throw TwitterException
Status(java.lang.String str)
           
 

Uses of TwitterException in twitter4j.examples
 

Methods in twitter4j.examples that throw TwitterException
static void Update.main(java.lang.String[] args)
          Main entry for this application.
 

Uses of TwitterException in twitter4j.http
 

Methods in twitter4j.http that throw TwitterException
 org.w3c.dom.Document Response.asDocument()
          Returns the response body as org.w3c.dom.Document.
Disconnects the internal HttpURLConnection silently.
 twitter4j.org.json.JSONObject Response.asJSONObject()
          Returns the response body as twitter4j.org.json.JSONObject.
Disconnects the internal HttpURLConnection silently.
 java.lang.String Response.asString()
          Returns the response body as string.
Disconnects the internal HttpURLConnection silently.
 Response HttpClient.get(java.lang.String url)
           
 Response HttpClient.get(java.lang.String url, boolean authenticated)
           
 AccessToken RequestToken.getAccessToken()
           
 AccessToken HttpClient.getOAuthAccessToken(RequestToken token)
           
 AccessToken HttpClient.getOAuthAccessToken(java.lang.String token, java.lang.String tokenSecret)
           
 RequestToken HttpClient.getOAuthRequestToken()
           
protected  Response HttpClient.httpRequest(java.lang.String url, PostParameter[] postParams, boolean authenticated)
           
 Response HttpClient.post(java.lang.String url)
           
 Response HttpClient.post(java.lang.String url, boolean authenticated)
           
 Response HttpClient.post(java.lang.String url, PostParameter[] PostParameters)
           
 Response HttpClient.post(java.lang.String url, PostParameter[] postParameters, boolean authenticated)
           
 



Copyright © 2009. All Rights Reserved.