How can I avoid the catch statement?

Using a try/catch statement, you can avoid the error and execute this function regardless of the order of inputs: Optionally, you can capture more information about errors if a variable follows your catch statement: MExc is an MException class object that contains more information about the thrown error.
For More Information Please Refer:
You May Also Like to Read: