...
Similarly, using Console.printf()
, System.out.print*()
or e.printStackTrace()
to output a security exception also constitutes a violation of this guidelinerule.
Compliant Solution
This compliant solution uses java.util.logging.Logger
, the default logging API provided by JDK 1.4 and later. Use of other compliant logging mechanisms, such as log4j, is also permitted.
...