001package org.biojava.nbio.core.exceptions;
002/*
003 *                    BioJava development code
004 *
005 * This code may be freely distributed and modified under the
006 * terms of the GNU Lesser General Public Licence.  This should
007 * be distributed with the code.  If you do not have a copy,
008 * see:
009 *
010 *      http://www.gnu.org/copyleft/lesser.html
011 *
012 * Copyright for this code is held jointly by the individual
013 * authors.  These should be listed in @author doc comments.
014 *
015 * For more information on the BioJava project and its aims,
016 * or to join the biojava-l mailing list, visit the home page
017 * at:
018 *
019 *      http://www.biojava.org/
020 *
021 * Created on DATE
022 *
023 */
024/**
025 * General abstraction of different parsing errors
026 * @author Scooter Willis <willishf at gmail dot com>
027 */
028public class ParserException extends RuntimeException {
029
030        private static final long serialVersionUID = -4101924035353204493L;
031
032        public ParserException(String message) {
033                super(message);
034        }
035
036        public ParserException(Exception e) {
037                super(e);
038        }
039
040        public ParserException(String message, Exception e) {
041                super(message, e);
042        }
043
044}