[Security] Change signature of AuthenticationException to match \Exception

This commit is contained in:
Alexander 2012-07-15 15:15:05 +02:00
parent b378964dbd
commit 694c47ce96

View File

@ -15,18 +15,12 @@ namespace Symfony\Component\Security\Core\Exception;
* AuthenticationException is the base class for all authentication exceptions.
*
* @author Fabien Potencier <fabien@symfony.com>
* @author Alexander <iam.asm89@gmail.com>
*/
class AuthenticationException extends \RuntimeException implements \Serializable
{
private $extraInformation;
public function __construct($message, $extraInformation = null, $code = 0, \Exception $previous = null)
{
parent::__construct($message, $code, $previous);
$this->extraInformation = $extraInformation;
}
public function getExtraInformation()
{
return $this->extraInformation;