try{ throw new NullPointerException("This will be caught below"); } catch(Exception e){ // NullPointerException is subclass of the Exception class. } There can be more than one catch-block for a try-block. The catching blocks evaluated ...