} catch (Exception ex) { ErrorMsg.reportError("Error", "Error requesting all single sounds of a bank.", ex); }
} catch (Exception ex) {}
    public void requestPatchDump(int bankNum, int patchNum) {        // Request dumps for all 128 single programs of a bank (that are 128 requests!!!)        for(int patchNo = 0; patchNo < patchNumbers.length; patchNo++) {            SysexHandler.NameValue[] nameValues = {                    new SysexHandler.NameValue("BB", bankNum ),                    new SysexHandler.NameValue("NN", patchNo ),                    new SysexHandler.NameValue("XSUM", ((byte)(bankNum + patchNo)) & 0x7F )            };            send(sysexRequestDump.toSysexMessage(getDeviceID(), nameValues ) );            try {                // Wait a little bit so that everything is in the correct sequence                Thread.sleep(50);            } catch (Exception ex) {                ErrorMsg.reportError("Error", "Error requesting all single sounds of a bank.", ex);            }        }                    }