summaryrefslogtreecommitdiffstats
path: root/Core/Exception/AuthenticationCredentialsNotFoundException.php
diff options
context:
space:
mode:
authorAlexander <iam.asm89@gmail.com>2012-07-15 15:16:07 +0200
committerAlexander <iam.asm89@gmail.com>2013-01-07 20:58:57 +0100
commit84296286f4b9cfd4bc1b88c2245d10a0ee32a367 (patch)
tree2a00e491edbe3d689010711a2f328370684b6772 /Core/Exception/AuthenticationCredentialsNotFoundException.php
parentce45cc1049e24b3400b5f5ba1f40f8ba53866eeb (diff)
downloadsymfony-security-84296286f4b9cfd4bc1b88c2245d10a0ee32a367.zip
symfony-security-84296286f4b9cfd4bc1b88c2245d10a0ee32a367.tar.gz
symfony-security-84296286f4b9cfd4bc1b88c2245d10a0ee32a367.tar.bz2
[Security] Add `getMessageKey` and `getMessageData` to auth exceptions
Diffstat (limited to 'Core/Exception/AuthenticationCredentialsNotFoundException.php')
-rw-r--r--Core/Exception/AuthenticationCredentialsNotFoundException.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/Core/Exception/AuthenticationCredentialsNotFoundException.php b/Core/Exception/AuthenticationCredentialsNotFoundException.php
index 16686ad..1bd8ffd 100644
--- a/Core/Exception/AuthenticationCredentialsNotFoundException.php
+++ b/Core/Exception/AuthenticationCredentialsNotFoundException.php
@@ -16,7 +16,15 @@ namespace Symfony\Component\Security\Core\Exception;
* because no Token is available.
*
* @author Fabien Potencier <fabien@symfony.com>
+ * @author Alexander <iam.asm89@gmail.com>
*/
class AuthenticationCredentialsNotFoundException extends AuthenticationException
{
+ /**
+ * {@inheritDoc}
+ */
+ public function getMessageKey()
+ {
+ return 'security.exception.authentication_credentials_not_found_exception';
+ }
}