@Override public String toString() { return getValue(); }
/** * Returns details of data flow given the data flow ID. * Only active data flows can be queried via this mechanism. * * @param inFlowID the data flow ID * * @return the data flow details * * @throws DataFlowNotFoundException if the data flow, specified by * the ID, could not be found. */ public DataFlowInfo getDataFlowInfo(DataFlowID inFlowID) throws DataFlowNotFoundException { DataFlow flow = mDataFlows.get(inFlowID); if (flow != null) { return flow.toDataFlowInfo(); } else { throw new DataFlowNotFoundException(new I18NBoundMessage1P( Messages.DATA_FLOW_NOT_FOUND, inFlowID.getValue())); } }
throw new ModuleStateException(new I18NBoundMessage4P( Messages.CANCEL_FAILED_MODULE_STATE_INCORRECT, inFlowID.getValue(), inRequester.getURN().toString(), state, ModuleState.CANCEL_FLOW_STATES.toString())); if(flow == null) { throw new DataFlowNotFoundException(new I18NBoundMessage1P( Messages.DATA_FLOW_NOT_FOUND, inFlowID.getValue()));
} else { throw new UnsupportedDataTypeException(new I18NBoundMessage2P( Messages.UNSUPPORTED_DATA_TYPE, inFlowID.getValue(), ObjectUtils.toString(inData))); } catch (OrderValidationException e) { throw new ReceiveDataException(e, new I18NBoundMessage2P( Messages.SEND_ORDER_VALIDATION_FAILED, inFlowID.getValue(), ObjectUtils.toString(inData))); } catch (ClientInitException e) {