in catch block we use throw ,throws,return etc....
My question is which one is better one over the remaining ,what is the diffrence between them?
Try catch is useful when you want to hide the exceptiion and save it in some error log.
Simply throwing the Exception in does not make any sense as that will happen by default when you don't have try catch
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.