Symfony\Component\Security\Core\Exception\CredentialsExpiredException
CredentialsExpiredException is thrown when the user account credentials have expired.
- Author: Fabien Potencier <fabien@symfony.com>
Synopsis
class CredentialsExpiredException
extends AccountStatusException
{
- // Inherited members from RuntimeException
- protected $message;
- protected $code;
- protected $file;
- protected $line;
- // Inherited members from Exception
- protected $message;
- protected $code;
- protected $file;
- protected $line;
- // methods
- public void getMessageKey()
- // Inherited methods from AccountStatusException
- public UserInterface getUser()
- public void setUser()
- public void serialize()
- public void unserialize()
- // Inherited methods from AuthenticationException
- public TokenInterface getToken()
- public void setToken()
- public void serialize()
- public void unserialize()
- public string getMessageKey()
- public array getMessageData()
- // Inherited methods from RuntimeException
- public final string getMessage()
- public final Exception getPrevious()
- public final mixed getCode()
- public final string getFile()
- public final int getLine()
- public final array getTrace()
- public final string getTraceAsString()
- public string __toString()
- // Inherited methods from Exception
- public void __construct()
- public final string getMessage()
- public final Exception getPrevious()
- public final mixed getCode()
- public final string getFile()
- public final int getLine()
- public final array getTrace()
- public final string getTraceAsString()
- public string __toString()
Hierarchy
Members
protected
- $code
—
int
The exception code - $code
—
int
The exception code - $file
—
string
The filename where the exception was created - $file
—
string
The filename where the exception was created - $line
—
int
The line where the exception was created - $line
—
int
The line where the exception was created - $message
—
string
The exception message - $message
—
string
The exception message
Methods
public
- getMessageKey() — {@inheritDoc}
Inherited from Symfony\Component\Security\Core\Exception\AccountStatusException
public
- getUser() — Get the user.
- serialize() — {@inheritDoc}
- setUser() — Set the user.
- unserialize() — {@inheritDoc}
Inherited from Symfony\Component\Security\Core\Exception\AuthenticationException
public
- getMessageData() — Message data to be used by the translation component.
- getMessageKey() — Message key to be used by the translation component.
- getToken() — Get the token.
- serialize()
- setToken() — Set the token.
- unserialize()
Inherited from RuntimeException
public
Inherited from Exception
public
- __toString() — String representation of the exception
- getCode() — Gets the Exception code
- getFile() — Gets the file in which the exception occurred
- getLine() — Gets the line in which the exception occurred
- getMessage() — Gets the Exception message
- getPrevious() — Returns previous Exception
- getTrace() — Gets the stack trace
- getTraceAsString() — Gets the stack trace as a string