What is the difference between Throw & rethrow with example?
Throw allows you to throw a custom exception at any point in your project. Rethrow is only used in a Catch block to throw the original exception which caused the process to reach said Catch block.