Adds some documentation related to exceptions.