SAP Error Handling


I am automating the SAP Sales Order entry process.

I have the process well defined.
Now, at any point an exception can occur. I have kept try catch block.

I have to create a group of Sales Orders. Lets suppose I encounter an exception while creating second Sales Order, how do I handle the exception, and continue with creating the third Sales Order?