接口 ClientErrorCode
public interface ClientErrorCode
-
字段概要
字段修饰符和类型字段说明static final StringConnection is refused by server side.static final Stringconnection times out.static final StringThread interrupted while reading the input stream.static final StringThe input stream is not repeatable for reading.static final StringSocket exceptionstatic final StringSocket times outstatic final StringUnknown error.static final StringUnknown host.
-
字段详细资料
-
UNKNOWN
Unknown error. This means the error is not expected.- 另请参阅:
-
UNKNOWN_HOST
Unknown host. This error is returned when aUnknownHostExceptionis thrown.- 另请参阅:
-
CONNECTION_TIMEOUT
connection times out.- 另请参阅:
-
SOCKET_TIMEOUT
Socket times out- 另请参阅:
-
SOCKET_EXCEPTION
Socket exception- 另请参阅:
-
CONNECTION_REFUSED
Connection is refused by server side.- 另请参阅:
-
NONREPEATABLE_REQUEST
The input stream is not repeatable for reading.- 另请参阅:
-
INPUTSTREAM_READING_ABORTED
Thread interrupted while reading the input stream.- 另请参阅:
-