The problem of throwing an error is that it removes an operation from drawing list which can cause a rendering issue.