001/*
002
003 *                    BioJava development code
004
005 *
006
007 * This code may be freely distributed and modified under the
008
009 * terms of the GNU Lesser General Public Licence.  This should
010
011 * be distributed with the code.  If you do not have a copy,
012
013 * see:
014
015 *
016
017 *      http://www.gnu.org/copyleft/lesser.html
018
019 *
020
021 * Copyright for this code is held jointly by the individual
022
023 * authors.  These should be listed in @author doc comments.
024
025 *
026
027 * For more information on the BioJava project and its aims,
028
029 * or to join the biojava-l mailing list, visit the home page
030
031 * at:
032
033 *
034
035 *      http://www.biojava.org/
036
037 *
038
039 */
040
041package org.biojava.bio.alignment;
042
043import org.biojava.bio.BioRuntimeException;
044
045/**
046 * 
047 * <p>
048 * 
049 * The usual reason for throwing an IllegalAlignmentEditException is that you
050 * are
051 * 
052 * trying to shift a group of bases in such a way that it would require deleting
053 * bases.
054 * 
055 * Only gaps can be deleted.
056 * 
057 * </p>
058 * 
059 * 
060 * 
061 * @author David Waring
062 */
063
064public class IllegalAlignmentEditException extends BioRuntimeException {
065
066        /**
067         * Generated Serial Version ID.
068         */
069        private static final long serialVersionUID = 4662428071284597336L;
070
071        /**
072         * 
073         * Just make the exception.
074         */
075
076        public IllegalAlignmentEditException() {
077                super();
078        }
079
080        /**
081         * 
082         * Make the exception with a message.
083         */
084
085        public IllegalAlignmentEditException(String message) {
086                super(message);
087        }
088
089        public IllegalAlignmentEditException(Throwable t) {
090                super(t);
091        }
092
093        public IllegalAlignmentEditException(Throwable t, String message) {
094                super(message, t);
095        }
096
097}