public class UPnPException extends Exception
Modifier and Type | Field and Description |
---|---|
static int |
DEVICE_INTERNAL_ERROR
The invoked action failed during execution.
|
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.
|
Constructor and Description |
---|
UPnPException(int errorCode,
String errorDescription)
This constructor creates a
UPnPException on the specified error
code and error description. |
UPnPException(int errorCode,
String errorDescription,
Throwable errorCause)
This constructor creates a
UPnPException on the specified error
code, error description and error cause. |
Modifier and Type | Method and Description |
---|---|
int |
getUPnPError_Code()
Deprecated.
As of version 1.2, replaced by
getUPnPErrorCode() |
int |
getUPnPErrorCode()
Returns the UPnP Error Code occurred by UPnPDevices during invocation.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
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
public UPnPException(int errorCode, String errorDescription)
UPnPException
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.public UPnPException(int errorCode, String errorDescription, Throwable errorCause)
UPnPException
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 that UPnPException
.public int getUPnPErrorCode()
public int getUPnPError_Code()
getUPnPErrorCode()
Copyright © OSGi Alliance (2000, 2015). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0