try {
DeviceProxy proxy = new DeviceProxy(getModel());
DeviceData argin = new DeviceData();
argin.insert(arg);
DeviceData cmdResult = proxy.command_inout(GET_PATH_SYMBOLS_CMD, argin);
result = cmdResult.extractStringArray();
} catch (DevFailed devFailed) {
StringBuilder errorMessage = new StringBuilder();
errorMessage.append("Error when executing command " + getModel() + "/" + GET_PATH_SYMBOLS_CMD + "/n");
errorMessage.append(DevFailedUtils.toString(devFailed) + "/n");
new Exception(errorMessage.toString()).printStackTrace();