001/*
002 *                    BioJava development code
003 *
004 * This code may be freely distributed and modified under the
005 * terms of the GNU Lesser General Public Licence.  This should
006 * be distributed with the code.  If you do not have a copy,
007 * see:
008 *
009 *      http://www.gnu.org/copyleft/lesser.html
010 *
011 * Copyright for this code is held jointly by the individual
012 * authors.  These should be listed in @author doc comments.
013 *
014 * For more information on the BioJava project and its aims,
015 * or to join the biojava-l mailing list, visit the home page
016 * at:
017 *
018 *      http://www.biojava.org/
019 *
020 */
021
022package org.biojava.nbio.structure;
023
024
025/**
026 * An exception during the parsing of a PDB file.
027 *
028 * @author Andreas Prlic, Thomas Down, Benjamin Schuster-Boeckler
029 * @author Andreas Prlic
030 * @since 1.4
031 * @version %I% %G%
032 */
033
034public class StructureException extends Exception {
035
036        public static final long serialVersionUID = 62946250941673093l;
037        /**
038         * Constructs a StructureException object.
039         *
040         * @param s  a String ...
041         */
042        public StructureException(String s) {
043        super(s);
044        }
045
046        /**
047         * Constructs a StructureException object.
048         *
049         * @param t  a Throwable object
050         * @param message  a String ...
051         */
052        public StructureException(String message, Throwable t){
053                super(message, t);
054        }
055
056        /**
057         * Constructs a StructureException object.
058         *
059         * @param t  a Throwable object
060         */
061        public StructureException (Throwable t) {
062        super(t);
063        }
064}