001package jmri.jmrit.logixng.util.parser;
002
003import jmri.JmriException;
004
005/**
006 * The parent of all parser exceptions.
007 * 
008 * @author Daniel Bergqvist 2019
009 */
010public class ParserException extends JmriException {
011
012    /**
013     * Creates a new instance of <code>ParserException</code> without detail message.
014     */
015    public ParserException() {
016    }
017
018    /**
019     * Creates a new instance of <code>ParserException</code> without detail message.
020     * @param t the cause
021     */
022    public ParserException(Throwable t) {
023        super(t);
024    }
025
026    /**
027     * Constructs an instance of <code>ParserException</code> with the specified detail message.
028     * @param msg the detail message.
029     */
030    public ParserException(String msg) {
031        super(msg);
032    }
033
034    /**
035     * Constructs an instance of <code>ParserException</code> with the specified detail message.
036     * @param msg the detail message.
037     * @param t the cause
038     */
039    public ParserException(String msg, Throwable t) {
040        super(msg, t);
041    }
042}