001package jmri.jmrit.logixng.util.parser;
002
003/**
004 * The class is not found.
005 *
006 * @author Daniel Bergqvist   Copyright (C) 2022
007 */
008public class ClassIsNotFoundException extends ParserException {
009
010    private final String _className;
011
012    /**
013     * Constructs an instance of <code>ClassIsNotFoundException</code>
014     * with the specified detail message.
015     * @param msg the detail message.
016     * @param className the name of the class
017     */
018    public ClassIsNotFoundException(String msg, String className) {
019        super(msg);
020        _className = className;
021    }
022
023    public String getClassName() {
024        return _className;
025    }
026
027}