summaryrefslogtreecommitdiff
path: root/vendor/OAuth/Common/Storage/Exception
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/OAuth/Common/Storage/Exception')
-rwxr-xr-xvendor/OAuth/Common/Storage/Exception/AuthorizationStateNotFoundException.php10
-rwxr-xr-xvendor/OAuth/Common/Storage/Exception/StorageException.php12
-rwxr-xr-xvendor/OAuth/Common/Storage/Exception/TokenNotFoundException.php10
3 files changed, 32 insertions, 0 deletions
diff --git a/vendor/OAuth/Common/Storage/Exception/AuthorizationStateNotFoundException.php b/vendor/OAuth/Common/Storage/Exception/AuthorizationStateNotFoundException.php
new file mode 100755
index 00000000..b3daeabb
--- /dev/null
+++ b/vendor/OAuth/Common/Storage/Exception/AuthorizationStateNotFoundException.php
@@ -0,0 +1,10 @@
+<?php
+
+namespace OAuth\Common\Storage\Exception;
+
+/**
+ * Exception thrown when a state is not found in storage.
+ */
+class AuthorizationStateNotFoundException extends StorageException
+{
+}
diff --git a/vendor/OAuth/Common/Storage/Exception/StorageException.php b/vendor/OAuth/Common/Storage/Exception/StorageException.php
new file mode 100755
index 00000000..4378ee8f
--- /dev/null
+++ b/vendor/OAuth/Common/Storage/Exception/StorageException.php
@@ -0,0 +1,12 @@
+<?php
+
+namespace OAuth\Common\Storage\Exception;
+
+use OAuth\Common\Exception\Exception;
+
+/**
+ * Generic storage exception.
+ */
+class StorageException extends Exception
+{
+}
diff --git a/vendor/OAuth/Common/Storage/Exception/TokenNotFoundException.php b/vendor/OAuth/Common/Storage/Exception/TokenNotFoundException.php
new file mode 100755
index 00000000..06222508
--- /dev/null
+++ b/vendor/OAuth/Common/Storage/Exception/TokenNotFoundException.php
@@ -0,0 +1,10 @@
+<?php
+
+namespace OAuth\Common\Storage\Exception;
+
+/**
+ * Exception thrown when a token is not found in storage.
+ */
+class TokenNotFoundException extends StorageException
+{
+}