org.eclipse.ohf.ihe.common.hl7v2.mllpclient
Class ClientException

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

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

See Also:
Serialized Form

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

ClientException

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

Parameters:
message -

ClientException

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

Parameters:
message -
errorConditionCode -

ClientException

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

Parameters:
message -
errorConditionCode -
e -

ClientException

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

Parameters:
e -

ClientException

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