001    package ca.uhn.hl7v2.conf.check;
002    
003    /**
004     * An exception indicating that some message contents don't reflect a static profile.   
005     * @author Bryan Tripp
006     */
007    public class ProfileNotFollowedException extends ca.uhn.hl7v2.HL7Exception {
008        
009        /**
010         * Constructs an instance of <code>ProfileNotFollowedException</code> with the specified detail message.
011         * @param msg the detail message.
012         */
013        public ProfileNotFollowedException(String msg) {
014            super(msg);
015        }
016    
017        /**
018         * Constructs an instance of <code>ProfileNotFollowedException</code> with the specified detail message.
019         * @param msg the detail message.
020         * @param cause an underlying exception 
021         */
022        /*public ProfileNotFollowedException(String msg, Throwable cause) {
023            super(msg, cause);
024        }*/
025    
026    }