You do not need to put a return statement after throw, the return line will never be reached as throwing an exception immediately hands control back to the caller.
You do not need to put a return statement after throw, the return line will never be reached as throwing an exception immediately hands control back to the caller.