meghrathod / chatX

Empty catch clauses may hide exceptions JAVA-W0052
Anti-pattern
Major
2 years ago2 years old
Empty catch blocks can hide exceptions
13                for (PrintWriter o : pubServer.noslist) {
14                    o.println("<b>" + msg.username + ": </b>" + msg.message + "<br>");
15                }
16            } catch (Exception e) {17            }18        }
19    }
20}