Tabnine Logo
FieldNotFound.getMessage
Code IndexAdd Tabnine to your IDE (free)

How to use
getMessage
method
in
quickfix.FieldNotFound

Best Java code snippets using quickfix.FieldNotFound.getMessage (Showing top 5 results out of 315)

origin: quickfix-j/quickfixj

private String getMsgType() throws InvalidMessage {
  try {
    return header.getString(MsgType.FIELD);
  } catch (final FieldNotFound e) {
    throw MessageUtils.newInvalidMessageException(e.getMessage() + " in " + messageData, this);
  }
}
origin: org.quickfixj/quickfixj-all

private String getMsgType() throws InvalidMessage {
  try {
    return header.getString(MsgType.FIELD);
  } catch (final FieldNotFound e) {
    throw MessageUtils.newInvalidMessageException(e.getMessage() + " in " + messageData, this);
  }
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.quickfix

private String getMsgType() throws InvalidMessage {
  try {
    return header.getString(MsgType.FIELD);
  } catch (final FieldNotFound e) {
    throw new InvalidMessage(e.getMessage() + " in " + messageData);
  }
}
origin: sutra/okcoin-client

/**
 * {@inheritDoc}
 */
@Override
public void toAdmin(Message message, SessionID sessionId) {
  String msgType;
  try {
    msgType = message.getHeader().getString(MsgType.FIELD);
  } catch (FieldNotFound e) {
    throw new RuntimeException(e.getMessage(), e);
  }
  if (MsgType.LOGON.equals(msgType) || MsgType.HEARTBEAT.equals(msgType)) {
    message.setField(new Username(apiKey));
    message.setField(new Password(secretKey));
  }
  if (log.isTraceEnabled()) {
    log.trace("toAdmin: {}", message);
    log.trace("toAdmin: {}", message.toXML(dataDictionary));
  }
}
origin: sutra/huobi-client

/**
 * {@inheritDoc}
 */
@Override
public void toAdmin(Message message, SessionID sessionId) {
  super.toAdmin(message, sessionId);
  String msgType;
  try {
    msgType = message.getHeader().getString(MsgType.FIELD);
  } catch (FieldNotFound e) {
    throw new RuntimeException(e.getMessage(), e);
  }
  if (MsgType.LOGON.equals(msgType)) {
    message.setField(new Username(accessKey));
    message.setField(new Password(secretKey));
  }
}
quickfixFieldNotFoundgetMessage

Popular methods of FieldNotFound

  • <init>
  • printStackTrace

Popular in Java

  • Updating database using SQL prepared statement
  • scheduleAtFixedRate (ScheduledExecutorService)
  • onRequestPermissionsResult (Fragment)
  • addToBackStack (FragmentTransaction)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now