InvalidSyntaxException

Syntax

public class InvalidSyntaxException extends java.lang.Exception

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.osgi.framework.InvalidSyntaxException
					

All Implemented Interfaces: java.io.Serializable

Description

Exception from the framework to indicate a filter string parameter has an invalid syntax and cannot be parsed.

Member Summary
Constructors
publicInvalidSyntaxException(String, String)
 Create the exception with the given message and the filter string which generated the exception.
Methods
public StringgetFilter()
 Returns the filter string which generated the exception.

Constructors

InvalidSyntaxException(String, String)
public InvalidSyntaxException(java.lang.String msg,
             java.lang.String filter)

Create the exception with the given message and the filter string which generated the exception.

Parameters:

msg— The message.

filter— The invalid filter string.

Methods

getFilter()
public java.lang.String getFilter()

Returns the filter string which generated the exception.

Returns: The invalid filter string.

See Also: BundleContext.getServiceReferences(String, String), BundleContext.addServiceListener(ServiceListener, String)

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.195.111