Использование e.printStackTrace() в Java ⇐ JAVA
-
Anonymous
Использование e.printStackTrace() в Java
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
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
Мобильная версия