public class InvalidSyntaxException
extends java.lang.Exception
An InvalidSyntaxException object indicates that a filter string parameter has an invalid syntax and cannot be parsed.
See Filter
for a description of the filter string syntax.
Constructor and Description |
---|
InvalidSyntaxException(java.lang.String msg,
java.lang.String filter)
Creates an exception of type InvalidSyntaxException.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFilter()
Returns the filter string that generated the InvalidSyntaxException object.
|
public InvalidSyntaxException(java.lang.String msg, java.lang.String filter)
This method creates an InvalidSyntaxException object with the specified message and the filter string which generated the exception.
msg
- The message.filter
- The invalid filter string.public java.lang.String getFilter()
BundleContext.getServiceReferences(java.lang.String, java.lang.String)
,
BundleContext.addServiceListener(org.osgi.framework.ServiceListener, java.lang.String)