title: Is using if-else a possible substitute for try-catch exception handling mechanism
body: <p>Recently, I was studying about throwing our own exceptions and I thought that maybe we can use <code>if-else</code> to check for the "suspicious" code and then deal with it in the <code>if</code> block. In the corresponding <code>else</code> block, we may proceed as if no exception arises..</p>
  
  <hr>
  
  <p>I know it may be a bit difficult to use an <code>if</code> statement to try catching all the exceptions but it is possible. Plus, I guess it will also be better in terms of memory usage as I have heard that <code>try-catch</code> blocks are very expensive in terms of memory usage.</p>