public class Catch{
public static void main(String[] args){
try{
throw
new EmptyStackException("MT");
}
catch (EmptyStackException e){
System.out.println("caught it");
}
catch (RuntimeException e){
System.out.println(e.getMessage());
}
}
}
//