001    package ca.uhn.hl7v2.conf.check;
002    
003    /**
004     * An element that a profile defines as "not used" (X) is present in the 
005     * message.  
006     * @author Bryan Tripp
007     */
008    @SuppressWarnings("serial")
009    public class XElementPresentException extends ProfileNotFollowedException {        
010        
011        /**
012         * Constructs an instance of <code>XElementPresentException</code> with the specified detail message.
013         * @param msg the detail message.
014         */
015        public XElementPresentException(String msg) {
016            super(msg);
017        }
018    
019    }