else if (exp.getCode()== 9001) {
showDialog(getWysiwyg().getTranslation("appname"), getWysiwyg().getTranslation("missing_rights"), cb);
} else
showError("" + exp.getCode(), exp.getFullMessage(), cb);
}
<BUG>else {
if (caught!=null)
caught.printStackTrace();
showError("", (caught==null) ? "" : caught.toString(), cb);</BUG>
}

else if (exp.getCode()== 9001) {
showDialog(getWysiwyg().getTranslation("appname"), getWysiwyg().getTranslation("missing_rights"), cb);
} else
showError("" + exp.getCode(), exp.getFullMessage(), cb);
