Code example for URISyntaxException

Methods: printStackTracegetMessage

0
			plugin.getLang().loadLangFile(); 
		} catch (IOException e) {
			sender.sendMessage("§4" + e.getMessage());
			e.printStackTrace();
		} catch (URISyntaxException e) {
			sender.sendMessage("§4" + e.getMessage());
			e.printStackTrace();
		} 
		sender.sendMessage(plugin.getLang().getLocalizedString("Cmd_Out_ReloadLangFile_Reloaded"));
		return true; 
	} 
 
	@Override 
	public String getUsage(CommandSender sender) {
		return plugin.getLang().getLocalizedString("Cmd_Usage_ReloadLangFile"); 
	} 
 
} 
Experience pair programming with AI  Get Codota for Java