Was ist daran falsch ?
Fehlermeldung: cannot fild variable writeLog.
Java:
try {
BufferedWriter writeLog = new BufferedWriter(
new OutputStreamWriter(
new FileOutputStream( "errorlog.txt" ) ) );
... }
catch( FileNotFoundException ex ) {
writeLog.write( "File not found." );
}
Zuletzt bearbeitet von einem Moderator: