/** * Default behaviour for handling a command execution exception. Shows an exception report to the user. * * @param response * command response with error */ public void onCommandException(CommandResponse response) { if (isShowError()) { commandExceptionCallback.onCommandException(response); } }
if (callback instanceof CommandExceptionCallback) { try { ((CommandExceptionCallback) callback).onCommandException(response); errorHandled = true; } catch (Throwable t) {