org.springframework.osgi.service
Class ServiceUnavailableException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.osgi.OsgiException
                  extended by org.springframework.osgi.service.ServiceException
                      extended by org.springframework.osgi.service.ServiceUnavailableException
All Implemented Interfaces:
Serializable

public class ServiceUnavailableException
extends ServiceException

Exception indicating that an OSGi service became unavailable/unregistered. Normally this exception is used to indicate that no suitable replacement is found (in case service rebinding is actually performed).

Author:
Adrian Colyer, Costin Leau
See Also:
Serialized Form

Constructor Summary
ServiceUnavailableException(Filter filter)
          Constructs a new ServiceUnavailableException instance.
ServiceUnavailableException(ServiceReference reference)
          Constructs a new ServiceUnavailableException instance.
ServiceUnavailableException(String filter)
          Constructs a new ServiceUnavailableException instance.
 
Method Summary
 
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

ServiceUnavailableException

public ServiceUnavailableException(Filter filter)
Constructs a new ServiceUnavailableException instance.

Parameters:
filter - service filter

ServiceUnavailableException

public ServiceUnavailableException(String filter)
Constructs a new ServiceUnavailableException instance.

Parameters:
filter - service filter (passed as a string)

ServiceUnavailableException

public ServiceUnavailableException(ServiceReference reference)
Constructs a new ServiceUnavailableException instance.

Parameters:
reference - service reference


Copyright © 2006-2009 Spring Framework. All Rights Reserved.