001    package org.apache.ojb.broker.accesslayer.conversions;
002    
003    /* Copyright 2002-2005 The Apache Software Foundation
004     *
005     * Licensed under the Apache License, Version 2.0 (the "License");
006     * you may not use this file except in compliance with the License.
007     * You may obtain a copy of the License at
008     *
009     *     http://www.apache.org/licenses/LICENSE-2.0
010     *
011     * Unless required by applicable law or agreed to in writing, software
012     * distributed under the License is distributed on an "AS IS" BASIS,
013     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014     * See the License for the specific language governing permissions and
015     * limitations under the License.
016     */
017    
018    import org.apache.ojb.broker.PersistenceBrokerException;
019    
020    /**
021     * A ConversionException can be thrown by implementors of FieldConversion
022     * to signal failures during the conversion process.
023     * @author Thomas Mahler
024     * @version $Id: ConversionException.java,v 1.1 2007-08-24 22:17:31 ewestfal Exp $
025     */
026    public class ConversionException extends PersistenceBrokerException
027    {
028    
029        /**
030         * Constructor for ConversionException.
031         */
032        public ConversionException()
033        {
034            super();
035        }
036    
037        /**
038         * Constructor for ConversionException.
039         * @param message
040         */
041        public ConversionException(String message)
042        {
043            super(message);
044        }
045    
046        /**
047         * Constructor for ConversionException.
048         * @param message
049         * @param cause
050         */
051        public ConversionException(String message, Throwable cause)
052        {
053            super(message, cause);
054        }
055    
056        /**
057         * Constructor for ConversionException.
058         * @param cause
059         */
060        public ConversionException(Throwable cause)
061        {
062            super(cause);
063        }
064    
065    }