public class UPnPGeneralErrorResponse extends UPnPResponse
UPnPActionResponseHandler.| Modifier and Type | Field and Description |
|---|---|
static int |
NETWORK_ERROR
Indicates that the action was not able to be invoked due to a
network error (could not reach server, or other non-timeout
network error).
|
static int |
NETWORK_TIMEOUT
Indicates that the server did not respond.
|
| Constructor and Description |
|---|
UPnPGeneralErrorResponse(int errorCode,
UPnPActionInvocation action)
Construct the instance.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorCode()
Get the error code.
|
getActionInvocation, getHTTPResponseCodepublic static final int NETWORK_TIMEOUT
public static final int NETWORK_ERROR
public UPnPGeneralErrorResponse(int errorCode,
UPnPActionInvocation action)
errorCode - The error code that this general error
response is to contain.action - The UPnPActionInvocation that this
general error response is in response to.Copyright © 2012. All Rights Reserved.