111112113114115116117118119120121
} break; } } catch (Exception e) { if (e instanceof IndexOutOfBoundsException) { callback.error(String.format("Invalid arguments for command '%s'", request.name())); } else { callback.error(e.getMessage()); } callback.response(); }
113114115116117118119120121122123
} } catch (Exception e) { if (e instanceof IndexOutOfBoundsException) { callback.error(String.format("Invalid arguments for command '%s'", request.name())); } else { callback.error(e.getMessage()); } callback.response(); } } }