public class NoHttpResponseException extends IOException
Signals that the target server failed to respond with a valid HTTP response.
| 构造器和说明 |
|---|
NoHttpResponseException()
Creates a new NoHttpResponseException with a null detail message.
|
NoHttpResponseException(String message)
Creates a new NoHttpResponseException with the specified detail message.
|
NoHttpResponseException(String message,
Throwable cause)
Creates a new NoHttpResponseException with the specified detail message and cause.
|
public NoHttpResponseException()
public NoHttpResponseException(String message)
message - exception messagepublic NoHttpResponseException(String message, Throwable cause)
message - the exception detail messagecause - the Throwable that caused this exception, or null
if the cause is unavailable, unknown, or not a ThrowableCopyright © 2017. All rights reserved.