UnsupportedExtension raises when accessing cert.extensions
diff --git a/docs/x509.rst b/docs/x509.rst
index da6bd85..eed88b0 100644
--- a/docs/x509.rst
+++ b/docs/x509.rst
@@ -271,6 +271,9 @@
         :raises cryptography.x509.DuplicateExtension: If more than one
             extension of the same type is found within the certificate.
 
+        :raises cryptography.x509.UnsupportedExtension: If the certificate
+            contains an extension that is not supported.
+
         .. doctest::
 
             >>> for ext in cert.extensions:
@@ -492,9 +495,6 @@
         :raises cryptography.x509.ExtensionNotFound: If the certificate does
             not have the extension requested.
 
-        :raises cryptography.x509.UnsupportedExtension: If the certificate
-            contains an extension that is not supported.
-
         .. doctest::
 
             >>> cert.extensions.get_extension_for_oid(x509.OID_BASIC_CONSTRAINTS)