| 
OSGi™ Service Platform Compendium Specification Release 4 Version 4.3  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.osgi.framework.ServiceException
org.osgi.service.blueprint.container.ServiceUnavailableException
public class ServiceUnavailableException
A Blueprint exception indicating that a service is unavailable. This exception is thrown when an invocation is made on a service reference and a backing service is not available.
| Field Summary | 
|---|
| Fields inherited from class org.osgi.framework.ServiceException | 
|---|
FACTORY_ERROR, FACTORY_EXCEPTION, FACTORY_RECURSION, REMOTE, SUBCLASSED, UNREGISTERED, UNSPECIFIED | 
| Constructor Summary | |
|---|---|
ServiceUnavailableException(java.lang.String message,
                            java.lang.String filter)
Creates a Service Unavailable Exception with the specified message.  | 
|
ServiceUnavailableException(java.lang.String message,
                            java.lang.String filter,
                            java.lang.Throwable cause)
Creates a Service Unavailable Exception with the specified message and exception cause.  | 
|
| Method Summary | |
|---|---|
 java.lang.String | 
getFilter()
Returns the filter expression that a service would have needed to satisfy in order for the invocation to proceed.  | 
| 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 | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ServiceUnavailableException(java.lang.String message,
                                   java.lang.String filter)
message - The associated message.filter - The filter used for the service lookup.
public ServiceUnavailableException(java.lang.String message,
                                   java.lang.String filter,
                                   java.lang.Throwable cause)
message - The associated message.filter - The filter used for the service lookup.cause - The cause of this exception.| Method Detail | 
|---|
public java.lang.String getFilter()
  | 
OSGi™ Service Platform Compendium Specification Release 4 Version 4.3  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||