java.lang.Object | |
↳ | com.linecorp.linesdk.LineApiError |
Represents an error that is thrown by the Social API.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
enum | LineApiError.ErrorCode | Represents detail error reasons. |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public static final Creator<LineApiError> | CREATOR | ||||||||||
public static final LineApiError | DEFAULT |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
LineApiError(Exception e) | |||||||||||
LineApiError(String message) | |||||||||||
LineApiError(Exception e, LineApiError.ErrorCode errorCode) | |||||||||||
LineApiError(int httpResponseCode, String message, LineApiError.ErrorCode errorCode) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static LineApiError | createWithHttpResponseCode(int httpResponseCode, Exception e) | ||||||||||
static LineApiError | createWithHttpResponseCode(int httpResponseCode, String errorString) | ||||||||||
LineApiError.ErrorCode |
getErrorCode()
Gets the error code associated with the API error.
| ||||||||||
int |
getHttpResponseCode()
Gets the response code associated with the API error.
| ||||||||||
String |
getMessage()
Gets the error message associated with the API error.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Gets the error code associated with the API error.
Gets the response code associated with the API error.
Gets the error message associated with the API error.