Class InvalidSyntaxException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.osgi.framework.InvalidSyntaxException
All Implemented Interfaces:
Serializable

public class InvalidSyntaxException extends Exception
A Framework exception used to indicate that a filter string has an invalid syntax.

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.

This exception conforms to the general purpose exception chaining mechanism.

See Also:
  • Constructor Details

    • InvalidSyntaxException

      public InvalidSyntaxException(String msg, String filter)
      Creates an exception of type InvalidSyntaxException.

      This method creates an InvalidSyntaxException object with the specified message and the filter string which generated the exception.

      Parameters:
      msg - The message.
      filter - The invalid filter string.
    • InvalidSyntaxException

      public InvalidSyntaxException(String msg, String filter, Throwable cause)
      Creates an exception of type InvalidSyntaxException.

      This method creates an InvalidSyntaxException object with the specified message and the filter string which generated the exception.

      Parameters:
      msg - The message.
      filter - The invalid filter string.
      cause - The cause of this exception.
      Since:
      1.3
  • Method Details