CodeSteps

Python, C, C++, C#, PowerShell, Android, Visual C++, Java ...

Exception Handling

PowerShell – Exception handling

PowerShell provides exception handling mechanism to enable to deal with the exceptions raised during the script execution. Known or expected errors, we commonly handle using Error handling mechanism; where mostly we use if statement to meet certain criteria and the change the flow of execution depends on the result of the conditional statement. Exceptional handling […]

Python – Exception handling

Python provides an exception handling mechanism to handle the Exceptions when something went wrong in the Program. Python interpreter reads the code and throws an Exception when something went wrong; if the mechanism is provided to handle the Error, the Program execution continues, otherwise, the Program terminates. A very good example of an Exception is […]

Scroll to top