org.eclipse.ohf.ihe.common.hl7v2.message
Class PixPdqMessageException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.eclipse.ohf.utilities.OHFException
              extended by org.eclipse.ohf.ihe.common.hl7v2.message.PixPdqMessageException
All Implemented Interfaces:
java.io.Serializable

public class PixPdqMessageException
extends org.eclipse.ohf.utilities.OHFException

See Also:
Serialized Form

Constructor Summary
PixPdqMessageException(java.lang.String message)
          Create with a message.
PixPdqMessageException(java.lang.String message, int errorConditionCode)
          Create with a message and an error condition.
PixPdqMessageException(java.lang.Throwable e)
          Create as a wrapper for some other exception.
PixPdqMessageException(java.lang.Throwable e, int errorConditionCode)
          Create as a wrapper for some other exception with an error condition.
 
Method Summary
 int getErrorCondition()
          Get the error condition for this exception.
 void setErrorCondition(int errorConditionCode)
          Set the error condition for this exception.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PixPdqMessageException

public PixPdqMessageException(java.lang.String message)
Create with a message.

Parameters:
message -

PixPdqMessageException

public PixPdqMessageException(java.lang.String message,
                              int errorConditionCode)
Create with a message and an error condition.

Parameters:
message -
errorConditionCode -

PixPdqMessageException

public PixPdqMessageException(java.lang.Throwable e)
Create as a wrapper for some other exception.

Parameters:
e -

PixPdqMessageException

public PixPdqMessageException(java.lang.Throwable e,
                              int errorConditionCode)
Create as a wrapper for some other exception with an error condition.

Parameters:
e -
errorConditionCode -
Method Detail

getErrorCondition

public int getErrorCondition()
Get the error condition for this exception.

Returns:
errorConditionCode

setErrorCondition

public void setErrorCondition(int errorConditionCode)
Set the error condition for this exception.

Parameters:
errorConditionCode -