summaryrefslogtreecommitdiffstats
path: root/Exception/BadCredentialsException.php
diff options
context:
space:
mode:
authorFabien Potencier <fabien.potencier@gmail.com>2010-10-19 13:06:43 +0200
committerFabien Potencier <fabien.potencier@gmail.com>2010-10-19 13:33:17 +0200
commit3fec93d3ff1f6a31f078e5558a15a75539bf5185 (patch)
tree1a6229643289d9d0ca55871bab9497035a6e49f1 /Exception/BadCredentialsException.php
downloadsymfony-security-3fec93d3ff1f6a31f078e5558a15a75539bf5185.zip
symfony-security-3fec93d3ff1f6a31f078e5558a15a75539bf5185.tar.gz
symfony-security-3fec93d3ff1f6a31f078e5558a15a75539bf5185.tar.bz2
added the Security Component and its integration into the MVC framework
Happy birthday symfony!
Diffstat (limited to 'Exception/BadCredentialsException.php')
-rw-r--r--Exception/BadCredentialsException.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/Exception/BadCredentialsException.php b/Exception/BadCredentialsException.php
new file mode 100644
index 0000000..3e6ddf8
--- /dev/null
+++ b/Exception/BadCredentialsException.php
@@ -0,0 +1,25 @@
+<?php
+
+namespace Symfony\Component\Security\Exception;
+
+/*
+ * 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.
+ */
+
+/**
+ * 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);
+ }
+}