this code in: catch (Exception ex)
Logger.getLogger (Server.class.getName ()). Log (Level.SEVERE, null, ex);