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    @SuppressWarnings("serial")
008    public class ProfileNotFollowedException extends ca.uhn.hl7v2.HL7Exception {
009        
010        /**
011         * Constructs an instance of <code>ProfileNotFollowedException</code> with the specified detail message.
012         * @param msg the detail message.
013         */
014        public ProfileNotFollowedException(String msg) {
015            super(msg);
016        }
017    
018        /**
019         * Constructs an instance of <code>ProfileNotFollowedException</code> with the specified detail message.
020         * @param msg the detail message.
021         * @param cause an underlying exception 
022         */
023        /*public ProfileNotFollowedException(String msg, Throwable cause) {
024            super(msg, cause);
025        }*/
026    
027    }