throw new StatusException("Unexpected exception", e);
}
boolean found = false;
XCommandInfo xCmdInfo = (XCommandInfo)UnoRuntime.queryInterface(
XCommandInfo.class, result);
if (xCmdInfo != null) {
CommandInfo[] cmdInfo = xCmdInfo.getCommands();
for (int i = 0; i < cmdInfo.length; i++) {
log.println("\t##### " + cmdInfo[i].Name + " - " + cmdInfo[i].Handle + " - " + cmdInfo[i].ArgType.getTypeName());
if (cmdInfo[i].Name.equals(commandName)) {
found = true;
// break;