summaryrefslogtreecommitdiffstats
path: root/Core/Exception/BadCredentialsException.php
diff options
context:
space:
mode:
Diffstat (limited to 'Core/Exception/BadCredentialsException.php')
-rw-r--r--Core/Exception/BadCredentialsException.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/Core/Exception/BadCredentialsException.php b/Core/Exception/BadCredentialsException.php
new file mode 100644
index 0000000..797a806
--- /dev/null
+++ b/Core/Exception/BadCredentialsException.php
@@ -0,0 +1,25 @@
+<?php
+
+/*
+ * This file is part of the Symfony package.
+ *
+ * (c) Fabien Potencier <fabien.potencier@symfony-project.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Symfony\Component\Security\Core\Exception;
+
+/**
+ * BadCredentialsException is thrown when the user credentials are invalid.
+ *
+ * @author Fabien Potencier <fabien.potencier@symfony-project.com>
+ */
+class BadCredentialsException extends AuthenticationException
+{
+ public function __construct($message, $code = 0, \Exception $previous = null)
+ {
+ parent::__construct($message, null, $code, $previous);
+ }
+}