((OtpErlangBinary) cmdTuple.elementAt(1)).binaryValue());
del(queryString);
} else {
jlog.severe("Received " + cmdTuple.elementAt(1)
+ " instead of a binary in " + cmdTuple);
throw new OtpStopException();
}
} else if (cmdName.equals("add")) {
// {add, Docs :: [[{atom(), string()}]]}
try {
add(this.translator.convert((OtpErlangList) cmdTuple
.elementAt(1)));
} catch (UnsupportedFieldTypeException ufte) {
jlog.severe(ufte.getMessage());
ufte.printStackTrace();
}
} else if (cmdName.equals("stop")) { // {stop}
jlog.info("Stopping");
throw new OtpStopException();
}
}