public class ServiceUnavailableException
extends org.osgi.framework.ServiceException
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
filter
The filter string associated with the exception.
|
private static long |
serialVersionUID |
| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFilter()
Returns the filter expression that a service would have needed to satisfy
in order for the invocation to proceed.
|
private static final long serialVersionUID
private final java.lang.String filter
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.