1 package ca.uhn.hl7v2.conf.check;
2
3 /**
4 * An exception indicating that a static profile doesn't correspond to HL7 rules.
5 * @author Bryan Tripp
6 */
7 @SuppressWarnings("serial")
8 public class ProfileNotHL7CompliantException extends ca.uhn.hl7v2.HL7Exception {
9
10 /**
11 * Constructs an instance of <code>ProfileNotHL7CompliantHL7Exception</code> with the specified detail message.
12 * @param msg the detail message.
13 */
14 public ProfileNotHL7CompliantException(String msg) {
15 super(msg);
16 }
17
18 /**
19 * Constructs an instance of <code>ProfileNotHL7CompliantHL7Exception</code> with the specified detail message.
20 * @param msg the detail message.
21 * @param cause an underlying exception
22 */
23 public ProfileNotHL7CompliantException(String msg, Throwable cause) {
24 super(msg, cause);
25 }
26
27 }