what is the advantage of exception handling in java