public class ServiceUnavailableException extends ServiceException
ASYNC_ERROR, FACTORY_ERROR, FACTORY_EXCEPTION, FACTORY_RECURSION, REMOTE, SUBCLASSED, UNREGISTERED, UNSPECIFIED
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.
|
getType
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.Copyright © OSGi Alliance (2000, 2018). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0