org.glassfish.osgicdi
Class ServiceUnavailableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.osgi.framework.ServiceException
org.glassfish.osgicdi.ServiceUnavailableException
- All Implemented Interfaces:
- java.io.Serializable
public class ServiceUnavailableException
- extends org.osgi.framework.ServiceException
This exception is thrown to indicate that the service is unavailable.
If an OSGiService service reference is marked as dynamic,
an attempt is made to get a reference to the service in the OSGi Service
Registry when the service is used, and then the method is
invoked on the newly obtained service. If the service cannot be discovered
or a reference obtained, the ServiceUnavailableException
is thrown.
- Author:
- Sivakumar Thyagarajan
- See Also:
- Serialized Form
| Fields inherited from class org.osgi.framework.ServiceException |
FACTORY_ERROR, FACTORY_EXCEPTION, REMOTE, SUBCLASSED, UNREGISTERED, UNSPECIFIED |
| Methods inherited from class org.osgi.framework.ServiceException |
getType |
| 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 |
ServiceUnavailableException
public ServiceUnavailableException(java.lang.String msg,
int type,
java.lang.Throwable cause)
-
Copyright © 2011 GlassFish Community. All Rights Reserved.