Similar to NullPointerException, list out as many exception as you want to handle. In addition to that
you should add one block for generic exception java.lang.Exception. So that, if any unhandled exception is triggered, it will fall in the generic exception block.