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