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