From security view point what is problem with code below try { //code to do IO operations return var1; } Catch(Exception e) { return var2; } finally{ return var3; }
It is returning a value in finally block
It is catching Exception
OPTION 1 AND Option 2
Nothing is wrong