All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ca.uhn.hl7v2.conf.ProfileException Maven / Gradle / Ivy

There is a newer version: 2.5.1
Show newest version
package ca.uhn.hl7v2.conf;

/**
 * Represents something wrong with a profile.  This is distinguished from 
 * something that is wrong with a message according to a profile (in the latter
 * case, an HL7Exception might be thrown when the message is validated against 
 * the profile).  
 * 
 * @author Bryan Tripp
 */
@SuppressWarnings("serial")
public class ProfileException extends Exception {
    
    /**
     * Constructs an instance of ProfileException with the specified detail message.
     * @param msg the detail message.
     */
    public ProfileException(String msg) {
        super(msg);
    }
    
    
    /**
     * Constructs an instance of ProfileException with the specified 
     * cause and detail message.
     * @param msg the detail message.
     * @param cause the underlying cause of the exception 
     */
    public ProfileException(String msg, Throwable cause) {
        super(msg, cause);
    }
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy