Michael Buesch wrote: > It is all about _coding_ in a clean way. Indeed. So show us how to rewrite the following in a clean way with return codes : void writeFile() { writeHeader(); writeContent(); writeFooter(); } //... try { writeFile(); } catch (DiskFullException e) { error("disk is full"); } > I have no idea about java. Gee, that's surprising to hear. >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<