public class ServiceUnavailableException extends ServiceException
ASYNC_ERROR, FACTORY_ERROR, FACTORY_EXCEPTION, FACTORY_RECURSION, REMOTE, SUBCLASSED, UNREGISTERED, UNSPECIFIED
Constructor and Description |
---|
ServiceUnavailableException(String message,
String filter)
Creates a Service Unavailable Exception with the specified message.
|
ServiceUnavailableException(String message,
String filter,
Throwable cause)
Creates a Service Unavailable Exception with the specified message and
exception cause.
|
Modifier and Type | Method and Description |
---|---|
String |
getFilter()
Returns the filter expression that a service would have needed to satisfy
in order for the invocation to proceed.
|
getType
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ServiceUnavailableException(String message, String filter)
message
- The associated message.filter
- The filter used for the service lookup.public ServiceUnavailableException(String message, String filter, Throwable cause)
message
- The associated message.filter
- The filter used for the service lookup.cause
- The cause of this exception.public String getFilter()
Copyright © OSGi Alliance (2000, 2015). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0