Why using Catch (Exception) almost always a bad idea?
Catch(Exception) is a bad idea as it catches all Runtime Exception. In some cases, we need to call methods that can throw checked exceptions in Java.
Why using Catch (Exception) almost always a bad idea?
Catch(Exception) is a bad idea as it catches all Runtime Exception. In some cases, we need to call methods that can throw checked exceptions in Java.