public class UPnPException
extends java.lang.Exception
Modifier and Type | Field and Description |
---|---|
static int |
DEVICE_INTERNAL_ERROR
The invoked action failed during execution.
|
private int |
errorCode
Key for an error information that is an int type variable and that is
used to identify occured errors.
|
static int |
INVALID_ACTION
No Action found by that name at this service.
|
static int |
INVALID_ARGS
Not enough arguments, too many arguments with a specific name, or one of
more of the arguments are of the wrong type.
|
static int |
INVALID_SEQUENCE_NUMBER
The different end-points are no longer in synchronization.
|
static int |
INVALID_VARIABLE
Refers to a non existing variable.
|
(package private) static long |
serialVersionUID |
Constructor and Description |
---|
UPnPException(int errorCode,
java.lang.String errordesc)
This constructor creates a UPnPException on the specified error code and
error description.
|
Modifier and Type | Method and Description |
---|---|
int |
getUPnPError_Code()
Returns the UPnPError Code occured by UPnPDevices during invocation.
|
static final long serialVersionUID
public static final int INVALID_ACTION
public static final int INVALID_ARGS
public static final int INVALID_SEQUENCE_NUMBER
public static final int INVALID_VARIABLE
public static final int DEVICE_INTERNAL_ERROR
private final int errorCode
public UPnPException(int errorCode, java.lang.String errordesc)
errorCode
- errorCode which defined UPnP Device Architecture V1.0.errordesc
- errorDescription which explain the type of propblem.