java.lang.Object | |||
↳ | java.lang.Throwable | ||
↳ | java.lang.Exception | ||
↳ | chan.content.ApiException |
Thrown by sending methods from ChanPerformer
.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ApiException.BanExtra |
|
||||||||||
ApiException.WordsExtra |
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ARCHIVE_ERROR_NO_ACCESS | No access to archive thread: unsupported or canceled operation. |
||||||||||
ARCHIVE_ERROR_TOO_OFTEN | User sends archive requests too often. |
||||||||||
DELETE_ERROR_NOT_FOUND | Deleted post was not found. |
||||||||||
DELETE_ERROR_NO_ACCESS | No access to delete posts: unsupported or canceled operation. |
||||||||||
DELETE_ERROR_PASSWORD | User entered invalid password. |
||||||||||
DELETE_ERROR_TOO_NEW | User must wait before deleting new posts. |
||||||||||
DELETE_ERROR_TOO_OFTEN | User sends delete post requests too often. |
||||||||||
DELETE_ERROR_TOO_OLD | The post is too old to delete. |
||||||||||
FLAG_KEEP_CAPTCHA | Flag: client will not reset captcha due to exception. |
||||||||||
REPORT_ERROR_EMPTY_COMMENT | User must specify comment to send report. |
||||||||||
REPORT_ERROR_NO_ACCESS | No access to report post: unsupported or canceled operation. |
||||||||||
REPORT_ERROR_TOO_OFTEN | User sends report post requests too often. |
||||||||||
SEND_ERROR_BANNED | User is banned. |
||||||||||
SEND_ERROR_CAPTCHA | Mistyped or empty captcha. |
||||||||||
SEND_ERROR_CLOSED | Thread closed. |
||||||||||
SEND_ERROR_EMPTY_COMMENT | User must specify comment to send post. |
||||||||||
SEND_ERROR_EMPTY_FILE | User must attach file to send post. |
||||||||||
SEND_ERROR_EMPTY_SUBJECT | User must specify subject to send post. |
||||||||||
SEND_ERROR_FIELD_TOO_LONG | Comment or another field exceeds limit. |
||||||||||
SEND_ERROR_FILES_LIMIT | Reached maximum files count in thread. |
||||||||||
SEND_ERROR_FILES_TOO_MANY | Too many files attached to post. |
||||||||||
SEND_ERROR_FILE_EXISTS | File with the same hash sum exists on server. |
||||||||||
SEND_ERROR_FILE_NOT_SUPPORTED | File type is not supported. |
||||||||||
SEND_ERROR_FILE_TOO_BIG | File size exceeds limit. |
||||||||||
SEND_ERROR_NO_ACCESS | No access to post on this board or thread. |
||||||||||
SEND_ERROR_NO_BOARD | Board not exists error. |
||||||||||
SEND_ERROR_NO_THREAD | Thread not exists error. |
||||||||||
SEND_ERROR_SPAM_LIST | Comment or another field contains a word from spam list. |
||||||||||
SEND_ERROR_TOO_FAST | User sends posts too fast. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor for an | |||||||||||
Constructor for an | |||||||||||
Constructor for an | |||||||||||
Constructor for an | |||||||||||
Constructor for an | |||||||||||
Constructor for an |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
No access to archive thread: unsupported or canceled operation.
User sends archive requests too often.
Deleted post was not found.
No access to delete posts: unsupported or canceled operation.
User entered invalid password.
User must wait before deleting new posts.
User sends delete post requests too often.
The post is too old to delete.
Flag: client will not reset captcha due to exception.
User must specify comment to send report.
No access to report post: unsupported or canceled operation.
User sends report post requests too often.
User is banned.
May be returned with ApiException.BanExtra
instance.
Mistyped or empty captcha.
Thread closed.
User must specify comment to send post.
User must attach file to send post.
User must specify subject to send post.
Comment or another field exceeds limit.
Reached maximum files count in thread.
Too many files attached to post.
File with the same hash sum exists on server.
File type is not supported.
File size exceeds limit.
No access to post on this board or thread.
Board not exists error.
Thread not exists error.
Comment or another field contains a word from spam list.
May be returned with ApiException.WordsExtra
instance.
User sends posts too fast.
Constructor for an ApiException
.
Parameters | |
---|---|
errorType |
int :
Error type constant value.
|
Constructor for an ApiException
.
Parameters | |
---|---|
errorType |
int :
Error type constant value. |
flags |
int :
Additional option flags. The following flags are available: FLAG_KEEP_CAPTCHA .
|
Constructor for an ApiException
.
Parameters | |
---|---|
errorType |
int :
Error type constant value. |
extra |
Object :
Additional extra data. The following types are available ApiException.BanExtra , ApiException.WordsExtra .
|
Constructor for an ApiException
.
Parameters | |
---|---|
errorType |
int :
Error type constant value. |
flags |
int :
Additional option flags. The following flags are available: FLAG_KEEP_CAPTCHA . |
extra |
Object :
Additional extra data. The following types are available ApiException.BanExtra , ApiException.WordsExtra .
|
Constructor for an ApiException
.
Parameters | |
---|---|
detailMessage |
String :
Error message.
|
Constructor for an ApiException
.
Parameters | |
---|---|
detailMessage |
String :
Error message. |
flags |
int :
Additional option flags. The following flags are available: FLAG_KEEP_CAPTCHA .
|