![JAR search and dependency download from the Maven repository](/logo.png)
org.oxerr.okcoin.fix.fix44.ExceptionResponseMessage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of okcoin-client-fix Show documentation
Show all versions of okcoin-client-fix Show documentation
Client for <a href="https://www.okcoin.cn">OKCoin</a> FIX API.
package org.oxerr.okcoin.fix.fix44;
import org.oxerr.okcoin.fix.field.ExceptionMessage;
import quickfix.FieldNotFound;
import quickfix.field.MsgType;
import quickfix.field.Text;
import quickfix.fix44.Message;
/**
* Used for OKCoin to return exceptions.
*/
public class ExceptionResponseMessage extends Message {
private static final long serialVersionUID = 20160303L;
public static final String MSGTYPE = "E1000";
public ExceptionResponseMessage() {
getHeader().setField(new MsgType(MSGTYPE));
}
public void set(Text value) {
setField(value);
}
public Text get(Text value) throws FieldNotFound {
getField(value);
return value;
}
public Text getText() throws FieldNotFound {
Text value = new Text();
getField(value);
return value;
}
public boolean isSet(Text field) {
return isSetField(field);
}
public boolean isSetText() {
return isSetField(Text.FIELD);
}
public void set(ExceptionMessage value) {
setField(value);
}
public ExceptionMessage get(ExceptionMessage value) throws FieldNotFound {
getField(value);
return value;
}
public ExceptionMessage getExceptionMessage() throws FieldNotFound {
ExceptionMessage value = new ExceptionMessage();
getField(value);
return value;
}
public boolean isSet(ExceptionMessage field) {
return isSetField(field);
}
public boolean isSetExceptionMessage() {
return isSetField(ExceptionMessage.FIELD);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy