Package org.osgi.service.upnp
Class UPnPException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.osgi.service.upnp.UPnPException
- All Implemented Interfaces:
Serializable
There are several defined error situations describing UPnP problems while a
control point invokes actions to UPnPDevices.
- Since:
- 1.1
- Version:
- $Revision: 5673 $
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic 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. -
Constructor Summary
ConstructorsConstructorDescriptionUPnPException
(int errorCode, String errordesc) This constructor creates a UPnPException on the specified error code and error description. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the UPnPError Code occured by UPnPDevices during invocation.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
INVALID_ACTION
public static final int INVALID_ACTIONNo Action found by that name at this service.- See Also:
-
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.- See Also:
-
INVALID_SEQUENCE_NUMBER
public static final int INVALID_SEQUENCE_NUMBERThe different end-points are no longer in synchronization.- See Also:
-
INVALID_VARIABLE
public static final int INVALID_VARIABLERefers to a non existing variable.- See Also:
-
DEVICE_INTERNAL_ERROR
public static final int DEVICE_INTERNAL_ERRORThe invoked action failed during execution.- See Also:
-
-
Constructor Details
-
UPnPException
This constructor creates a UPnPException on the specified error code and error description.- Parameters:
errorCode
- errorCode which defined UPnP Device Architecture V1.0.errordesc
- errorDescription which explain the type of propblem.
-
-
Method Details
-
getUPnPError_Code
public int getUPnPError_Code()Returns the UPnPError Code occured by UPnPDevices during invocation.- Returns:
- The UPnPErrorCode defined by a UPnP Forum working committee or specified by a UPnP vendor.
-