Why is raising an exception bad if querying the read-only status fails?