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