public function __construct(Token $token, \Exception $previous = NULL) { \Event::fire('token.notLoginToken', array($token)); parent::__construct('Not a login token', 0, $previous); }
public function __construct(Token $token, \User $user, \Exception $previous = NULL) { \Event::fire('token.notLoggableUser', array($token, $user)); parent::__construct("User can't logged in with a token", 0, $previous); }
public function __construct(Token $token, \Exception $previous = NULL) { parent::__construct('Not a valid token', 0, $previous); }