summaryrefslogtreecommitdiffstats
path: root/Core/Exception/ProviderNotFoundException.php
diff options
context:
space:
mode:
Diffstat (limited to 'Core/Exception/ProviderNotFoundException.php')
-rw-r--r--Core/Exception/ProviderNotFoundException.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/Core/Exception/ProviderNotFoundException.php b/Core/Exception/ProviderNotFoundException.php
index e11c8aa..ea2b1fd 100644
--- a/Core/Exception/ProviderNotFoundException.php
+++ b/Core/Exception/ProviderNotFoundException.php
@@ -16,7 +16,15 @@ namespace Symfony\Component\Security\Core\Exception;
* supports an authentication Token.
*
* @author Fabien Potencier <fabien@symfony.com>
+ * @author Alexander <iam.asm89@gmail.com>
*/
class ProviderNotFoundException extends AuthenticationException
{
+ /**
+ * {@inheritDoc}
+ */
+ public function getMessageKey()
+ {
+ return 'No authentication provider found to support the authentication token.';
+ }
}