org.eclipse.ohf.ihe.common.mllp
Class MLLPException

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.mllp.MLLPException
All Implemented Interfaces:
java.io.Serializable

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

See Also:
Serialized Form

Constructor Summary
MLLPException(java.lang.String message)
          Create with a message.
MLLPException(java.lang.String message, int errorConditionCode)
          Create with a message and an error condition.
MLLPException(java.lang.String message, int errorConditionCode, java.lang.Throwable e)
          Create with a message and an error condition and exception.
MLLPException(java.lang.Throwable e)
          Create as a wrapper for some other exception.
MLLPException(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

MLLPException

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

Parameters:
message -

MLLPException

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

Parameters:
message -
errorConditionCode -

MLLPException

public MLLPException(java.lang.String message,
                     int errorConditionCode,
                     java.lang.Throwable e)
Create with a message and an error condition and exception.

Parameters:
message -
errorConditionCode -
e -

MLLPException

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

Parameters:
e -

MLLPException

public MLLPException(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 -