Java twitter4j TwitterException fields, constructors, methods, implement or subclass

Example usage for Java twitter4j TwitterException fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for twitter4j TwitterException.

The text is from its open source code.

Subclass

twitter4j.TwitterException has subclasses.
Click this link to see all its subclasses.

Constructor

Method

booleanexceededRateLimitation()
Tests if the exception is caused by rate limitation exceed
intgetAccessLevel()
intgetErrorCode()
StringgetErrorMessage()
Returns error message from the API if available.
StringgetExceptionCode()
Returns a hexadecimal representation of this exception stacktrace.
An exception code is a hexadecimal representation of the stacktrace which enables it easier to Google known issues.
Format : XXXXXXXX:YYYYYYYY[ XX:YY]
Where XX is a hash code of stacktrace without line number
YY is a hash code of stacktrace excluding line number
[-XX:YY] will appear when this instance a root cause
StringgetMessage()
RateLimitStatusgetRateLimitStatus()
intgetRetryAfter()
Returns int value of "Retry-After" response header (Search API) or seconds_until_reset (REST API).
intgetStatusCode()
booleanisCausedByNetworkIssue()
Tests if the exception is caused by network issue
booleanisErrorMessageAvailable()
Tests if error message from the API is available
booleanresourceNotFound()
Tests if the exception is caused by non-existing resource
StringtoString()