Custumization and record locks

In a screen customization, I have code triggered by AFterAdapterMethod - in the case of an Update is there a way to know if the Update was not successful such as a record locking error occurred?