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.
Definition at line 34 of file InvalidSyntaxException.java.
Public Member Functions | |
InvalidSyntaxException (String msg, String filter) | |
Creates an exception of type InvalidSyntaxException . | |
InvalidSyntaxException (String msg, String filter, Throwable cause) | |
Creates an exception of type InvalidSyntaxException . | |
String | getFilter () |
Returns the filter string that generated the InvalidSyntaxException object. | |
Throwable | getCause () |
Returns the cause of this exception or null if no cause was specified when this exception was created. | |
Throwable | initCause (Throwable cause) |
The cause of this exception can only be set when constructed. |
org.osgi.framework.InvalidSyntaxException.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.
msg | The message. | |
filter | The invalid filter string. |
Definition at line 56 of file InvalidSyntaxException.java.
org.osgi.framework.InvalidSyntaxException.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.
msg | The message. | |
filter | The invalid filter string. | |
cause | The cause of this exception. |
Definition at line 75 of file InvalidSyntaxException.java.
String org.osgi.framework.InvalidSyntaxException.getFilter | ( | ) |
Returns the filter string that generated the InvalidSyntaxException
object.
Definition at line 89 of file InvalidSyntaxException.java.
Referenced by org.osgi.service.condpermadmin.BundleLocationCondition.getCondition().
Throwable org.osgi.framework.InvalidSyntaxException.getCause | ( | ) |
Returns the cause of this exception or null
if no cause was specified when this exception was created.
null
if no cause was specified. Definition at line 101 of file InvalidSyntaxException.java.
Throwable org.osgi.framework.InvalidSyntaxException.initCause | ( | Throwable | cause | ) |
The cause of this exception can only be set when constructed.
cause | Cause of the exception. |
java.lang.IllegalStateException | This method will always throw an IllegalStateException since the cause of this exception can only be set when constructed. |
Definition at line 115 of file InvalidSyntaxException.java.