Использование e.printStackTrace() в JavaJAVA

Программисты JAVA общаются здесь
Anonymous
Использование e.printStackTrace() в Java

Сообщение Anonymous »


Why does NetBeans IDE raise a flag on printing a Java stack trace?

try { //try to do something there } catch (IOException e) { //handle the exception e.printStackTrace(); } For some reason the printStackTrace is underlined in a squiggly line. When I Quick-Fix (Alt+Enter), NetBeans reports Throwable.printStackTrace() should be removed. What does this mean?


Источник: https://stackoverflow.com/questions/710 ... ce-in-java

Вернуться в «JAVA»