Consider the two methods: methodThrowingExceptions and methodCatchingSomeExceptions.
The first one throws unchecked exceptions of different types.
Your task is to implement the second method. It must call the first method and catch two types of exceptions:
ArrayIndexOutOfBoundsExceptionNumberFormatException
Inside the catch block (or blocks) you should print the name of the handled exception class (only name, without packages) to the standard output, like:
ArrayIndexOutOfBoundsException
Other types of exceptions must not be caught by the methodCatchingSomeExceptions.