HttpConnection.readError 方法

定义

Reads from the error stream and returns the error reason.

public byte [] readError()

返回

byte []

The error reason.

例外

IOException

This exception thrown if the input stream could not be accessed, for example if the server could not be reached.

适用于