Changed excpetion name based on feedback from dreid
diff --git a/docs/hazmat/primitives/symmetric-encryption.rst b/docs/hazmat/primitives/symmetric-encryption.rst
index 48bad92..c1c8d24 100644
--- a/docs/hazmat/primitives/symmetric-encryption.rst
+++ b/docs/hazmat/primitives/symmetric-encryption.rst
@@ -43,8 +43,8 @@
provider.
If the backend doesn't support the requested combination of ``cipher``
- and ``mode`` a :class:`cryptography.exceptions.NoSuchAlgorithm` will
- be raised.
+ and ``mode`` an :class:`cryptography.exceptions.UnsupportedAlgorithm`
+ will be raised.
.. method:: decryptor()
@@ -53,8 +53,8 @@
provider.
If the backend doesn't support the requested combination of ``cipher``
- and ``mode`` a :class:`cryptography.exceptions.NoSuchAlgorithm` will
- be raised.
+ and ``mode`` an :class:`cryptography.exceptions.UnsupportedAlgorithm`
+ will be raised.
.. currentmodule:: cryptography.hazmat.primitives.interfaces