why checked exceptions are not propagated in the chain ?
public static void m() {
FileReader file = new FileReader("C:\\test\\a.txt");
BufferedReader fileInput = new BufferedReader(file);
}
public static void n() {
m();
}
public static void o() {
n();
}
public static void main(String[] args) {
try {
o();
}
catch(Exception e) {
System.out.println("caught exception");
}
}
And why all checked exceptions should be handled ?