Fix 'Exceptions' formatting

Before this change, the "#exceptions" anchor tag was broken and the "Exceptions" section appeared in a code block nested under the "Classes" section.