001/*
002 *  Copyright 2015 Anyware Services
003 *
004 *  Licensed under the Apache License, Version 2.0 (the "License");
005 *  you may not use this file except in compliance with the License.
006 *  You may obtain a copy of the License at
007 *
008 *      http://www.apache.org/licenses/LICENSE-2.0
009 *
010 *  Unless required by applicable law or agreed to in writing, software
011 *  distributed under the License is distributed on an "AS IS" BASIS,
012 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 *  See the License for the specific language governing permissions and
014 *  limitations under the License.
015 */
016
017package org.ametys.cms.indexing;
018
019/**
020 * Signals that an error occurred during an indexing process.
021 */
022public class IndexingException extends Exception
023{
024    
025    /**
026     * Constructs an {@link IndexingException}.
027     */
028    public IndexingException()
029    {
030        super();
031    }
032    
033    /**
034     * Constructs an {@link IndexingException} with the specified detail message.
035     * @param message The detail message.
036     */
037    public IndexingException(String message)
038    {
039        super(message);
040    }
041    
042    /**
043     * Constructs an {@link IndexingException} with the specified detail message and cause.
044     * @param message The detail message.
045     * @param cause The cause.
046     */
047    public IndexingException(String message, Throwable cause)
048    {
049        super(message, cause);
050    }
051    
052    /**
053     * Constructs an {@link IndexingException} with the specified cause.
054     * @param cause The cause.
055     */
056    public IndexingException(Throwable cause)
057    {
058        super(cause);
059    }
060    
061}