Class COM.odi.util.query.InvalidPatternException
java.lang.Object
|
+----java.lang.Throwable
|
+----java.lang.Exception
|
+----java.lang.RuntimeException
|
+----COM.odi.ObjectStoreException
|
+----COM.odi.util.query.QueryException
|
+----COM.odi.util.query.InvalidPatternException
- public class InvalidPatternException
- extends QueryException
Exception thrown when evaluating a query that has an invalid pattern operand
to the '~~' pattern matching operation. Note that this class of exception is
only thrown if the invalid pattern is detected at query evaluation time
because the pattern was not specified as a literal within the query
expression, but was instead the value of a free variable, a field, or the
return value of a method. Attempting to create a Query with an invalid
pattern specified literally within the query expression causes
QueryParseException to be thrown from the Query constructor.
For example, this exception would be thrown when evaluating a query which
specified a query string which included a match against a free variable and
the free variable value contained an escape sequence such as "&1".
Copyright © 1996, 1997, 1998 Object Design, Inc. All rights reserved.