Class InvalidQueryException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.jackrabbit.ocm.exception.NestableRuntimeException
                  extended by org.apache.jackrabbit.ocm.exception.ObjectContentManagerException
                      extended by org.apache.jackrabbit.ocm.exception.InvalidQueryException
All Implemented Interfaces:

public class InvalidQueryException
extends ObjectContentManagerException

The InvalidQuerySyntaxException is an ObjectContentManagerException thrown if the query of the ObjectContentManager.getObjectIterator(String, String) is invalid. This exception actually wraps a standard JCR javax.jcr.InvalidQueryException to make it an unchecked exception. The cause of this exception will always be the original InvalidQueryException and the message will always be the original exception's message.

See Also:
Serialized Form

Constructor Summary
InvalidQueryException(InvalidQueryException cause)
          Create an exception wrapping the given checked JCR exception
Method Summary
Methods inherited from class org.apache.jackrabbit.ocm.exception.NestableRuntimeException
getCause, getMessage, printStackTrace, printStackTrace
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public InvalidQueryException(InvalidQueryException cause)
Create an exception wrapping the given checked JCR exception

cause - The wrapped JCR InvalidQueryException

Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.