Dml Exception Handling In Salesforce, To see an exception in action, execute some code that causes a DML exception to be thrown.