public class Catch{ public static void main(String[] args){ try{ throw new EmptyStackException("Not really"); } catch (EmptyStackException e){ System.out.println("Empty what exception?"); } catch (RuntimeException e){ System.out.println(e.getMessage()); } } } //