/*
 * $Url: $
 * $Id: $
 *
 * Copyright 1997-2005 Day Management AG
 * Barfuesserplatz 6, 4001 Basel, Switzerland
 * All Rights Reserved.
 *
 * This software is the confidential and proprietary information of
 * Day Management AG, ("Confidential Information"). You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with Day.
 */
package org.apache.jackrabbit.ocm.exception;

/**
 * The <code>InvalidQuerySyntaxException</code> is an
 * <code>ObjectContentManagerException</code> thrown if the query of the
 * {@link org.apache.jackrabbit.ocm.manager.ObjectContentManager#getObjectIterator(String, String)}
 * is invalid. This exception actually wraps a standard JCR
 * <code>javax.jcr.InvalidQueryException</code> to make it an unchecked
 * exception. The cause of this exception will always be the original
 * <code>InvalidQueryException</code> and the message will always be the
 * original exception's message.
 */
public class InvalidQueryException extends ObjectContentManagerException {

    /**
     * Create an exception wrapping the given checked JCR exception
     * 
     * @param cause The wrapped JCR <code>InvalidQueryException</code>
     */
    public InvalidQueryException(javax.jcr.query.InvalidQueryException cause) {
        super(cause.getMessage(), cause);
    }
}

@@ -3,426 +3,614 @@
 %0A * 
-$Url: $%0A * $Id: $%0A *%0A * Copyright 1997-2005 Day Management AG%0A * Barfuesserplatz 6, 4001 Ba
+Copyright 2007 The Apache Software Foundation.%0A * %0A * Licensed under the Apache Licen
 se
-l
 , 
-Switzerland%0A * All Rights Reserved.%0A *%0A * This software is the confidential and proprietary information of%0A * Day Management AG, (%22Confidential Information%22). You shall not%0A * disclose such Confidential Information and shall use it only in%0A * accordance with the terms of
+Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at %0A * %0A *     http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See
  the 
-l
+L
 icense 
-agreement you entered into%0A * with Day
+for the specific language governing permissions and%0A * limitations under the License
 .%0A *

Fix License Header (Thanks Christophe).