Professional Documents
Culture Documents
Java IOException
Java IOException
import
import
import
/**
*
*
*
*
*
*
*
*
*
*
*
*/
java.io.*;
java.net.*;
java.util.* ;
javax.swing.* ;
bw = (BufferedWriter)(it.next()) ;
if (bw != out) { // don't tell self
bw.write(s+"\r") ; // return for readLine at other end
bw.flush() ;
}
}
catch (Exception e2) {
JOptionPane.showMessageDialog(null,e2.toString(),"TRANSDUCER E
XCEPTION #2",JOptionPane.WARNING_MESSAGE) ;
}
}
}
// running exception not otherwise handled ...
catch(Exception e1) {
JOptionPane.showMessageDialog(null,e1.toString(),"TRANSDUCER EXCEPTI
ON #1",JOptionPane.WARNING_MESSAGE) ;
}
}
}
}