OSGi Service Platform
Release 3

org.osgi.service.upnp
Class UPnPException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.osgi.service.upnp.UPnPException
All Implemented Interfaces:
java.io.Serializable

public class UPnPException
extends java.lang.Exception

See Also:
Serialized Form

Constructor Summary
UPnPException(int errorCode, java.lang.String errordesc)
          This constructor creates a UPnPException on the specified error code and error description.
 
Method Summary
 int getUPnPError_Code()
          Returns the UPnPError Code occured by UPnPDevices during invocation.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UPnPException

public UPnPException(int errorCode,
                     java.lang.String errordesc)
This constructor creates a UPnPException on the specified error code and error description.

Parameters:
errordesc - errorDescription which explain the type of propblem.
Method Detail

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.

OSGi Service Platform
Release 3

Copyright (c) OSGi Alliance (2000, 2003). All Rights Reserved.