Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.ohf.ihe.common.mllp
Class ErrorCondition

    java.lang.Object
      org.eclipse.ohf.ihe.common.mllp.ErrorCondition

    public class ErrorCondition

extends java.lang.Object

Field Summary
`static int` | `mllpErrorClosingSocket` MLLPException - unable to close a socket connection
`static int` | `mllpNonSecureSocketError` MLLPException - exception creating non-secure socket
`static int` | `mllpNoSocketConnection` MLLPException - unable to create a socket connection
`static int` | `mllpSecureSocketError` MLLPException - exception creating secureSocket
`static int` | `mllpSocketUseError` MLLPException - error occurred while using socket
`static int` | `mllpUnexpectedError` MLLPException - encountered an unexpected error

Constructor Summary
`ErrorCondition()`

Method Summary
`static java.lang.String` | `acceptCode(int value)` Appropriate accept code for the error condition
`static java.lang.String` | `display(int value)` Human friendly display for the error condition
`static java.lang.String` | `errorCondition(int value)` HL7 error condition code for the condition

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### mllpNoSocketConnection

    public static final int mllpNoSocketConnection

  MLLPException - unable to create a socket connection

  See Also:
    Constant Field Values

### mllpUnexpectedError

    public static final int mllpUnexpectedError

  MLLPException - encountered an unexpected error

  See Also:
    Constant Field Values

### mllpErrorClosingSocket

    public static final int mllpErrorClosingSocket

  MLLPException - unable to close a socket connection

  See Also:
    Constant Field Values

### mllpSocketUseError

    public static final int mllpSocketUseError

  MLLPException - error occurred while using socket

  See Also:
    Constant Field Values

### mllpSecureSocketError

    public static final int mllpSecureSocketError

  MLLPException - exception creating secureSocket

  See Also:
    Constant Field Values

### mllpNonSecureSocketError

    public static final int mllpNonSecureSocketError

  MLLPException - exception creating non-secure socket

  See Also:
    Constant Field Values

Constructor Detail

### ErrorCondition

    public ErrorCondition()

Method Detail

### display

    public static java.lang.String display(int value)

  Human friendly display for the error condition

  Parameters:
    `value` -
  Returns:
    error message

### acceptCode

    public static java.lang.String acceptCode(int value)

  Appropriate accept code for the error condition

  Parameters:
    `value` -
  Returns:
    accept code

### errorCondition

    public static java.lang.String errorCondition(int value)

  HL7 error condition code for the condition

  Parameters:
    `value` -
  Returns:
    error condition

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD