The VMRC API methods generate exceptions if a failure or an error occurs when you call a method. It is a best practice to use try and catch blocks in your web application code to handle any exceptions generated by the VMRC API methods. As many VMRC API methods do not return a value, handling the exceptions is the only way to handle errors and failures.