public class Propagate{
static void a(){
throw new RuntimeException("A");
}
static void b(){
a();
}
public static void main(String[] args){
try{
b();
}
catch (RuntimeException e){
System.out.println(e.getMessage());
}
}
}
//