? UPnPException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.osgi.service.upnp.UPnPException
- ????????:
Serializable
There are several defined error situations describing UPnP problems while a
control point invokes actions to UPnPDevices.
- ???????:
- 1.1
- ????:
-
????
????????????static final int
The invoked action failed during execution.static final int
No Action found by that name at this service.static final int
Not enough arguments, too many arguments with a specific name, or one of more of the arguments are of the wrong type.static final int
The different end-points are no longer in synchronization.static final int
Refers to a non existing variable. -
?????
????????UPnPException
(int errorCode, String errorDescription) This constructor creates aUPnPException
on the specified error code and error description.UPnPException
(int errorCode, String errorDescription, Throwable errorCause) This constructor creates aUPnPException
on the specified error code, error description and error cause. -
????
??????????int
????As of 1.2.int
Returns the UPnP Error Code occurred by UPnPDevices during invocation.
-
??????
-
INVALID_ACTION
public static final int INVALID_ACTIONNo Action found by that name at this service.- ????:
-
INVALID_ARGS
public static final int INVALID_ARGSNot enough arguments, too many arguments with a specific name, or one of more of the arguments are of the wrong type.- ????:
-
INVALID_SEQUENCE_NUMBER
public static final int INVALID_SEQUENCE_NUMBERThe different end-points are no longer in synchronization.- ????:
-
INVALID_VARIABLE
public static final int INVALID_VARIABLERefers to a non existing variable.- ????:
-
DEVICE_INTERNAL_ERROR
public static final int DEVICE_INTERNAL_ERRORThe invoked action failed during execution.- ????:
-
-
???????
-
UPnPException
This constructor creates aUPnPException
on the specified error code and error description.- ??:
errorCode
- error code which defined by UPnP Device Architecture V1.0.errorDescription
- error description which explain the type of problem.
-
UPnPException
This constructor creates aUPnPException
on the specified error code, error description and error cause.- ??:
errorCode
- error code which defined by UPnP Device Architecture V1.0.errorDescription
- error description which explain the type of the problem.errorCause
- cause of thatUPnPException
.- ???????:
- 1.2
-
-
??????
-
getUPnPErrorCode
public int getUPnPErrorCode()Returns the UPnP Error Code occurred by UPnPDevices during invocation.- ??:
- The UPnPErrorCode defined by a UPnP Forum working committee or specified by a UPnP vendor.
- ???????:
- 1.2
-
getUPnPError_Code
public int getUPnPError_Code()????As of 1.2. Replaced bygetUPnPErrorCode()
.Returns the UPnPError Code occurred by UPnPDevices during invocation.- ??:
- The UPnPErrorCode defined by a UPnP Forum working committee or specified by a UPnP vendor.
-