×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Java
Posted by: Hani Ibrahim
Added: Jan 15, 2017 1:31 PM
Modified: Feb 3, 2017 6:17 PM
Views: 9
For catching exceptions with own "Error Message" insteadt of System.err.println()
  1. Logger.getLogger(PortClose.class.getName()).log(Level.SEVERE, "[ErrorMessage]", ex);