ca.uhn.hl7v2.conf
Class ProfileException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by ca.uhn.hl7v2.conf.ProfileException
All Implemented Interfaces:
java.io.Serializable

public class ProfileException
extends java.lang.Exception

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
See Also:
Serialized Form

Constructor Summary
ProfileException(java.lang.String msg)
          Constructs an instance of ProfileException with the specified detail message.
ProfileException(java.lang.String msg, java.lang.Throwable cause)
          Constructs an instance of ProfileException with the specified cause and detail message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProfileException

public ProfileException(java.lang.String msg)
Constructs an instance of ProfileException with the specified detail message.

Parameters:
msg - the detail message.

ProfileException

public ProfileException(java.lang.String msg,
                        java.lang.Throwable cause)
Constructs an instance of ProfileException with the specified cause and detail message.

Parameters:
msg - the detail message.
cause - the underlying cause of the exception


Copyright © 2001-2011 University Health Network. All Rights Reserved.