| 
									
										
										
										
											2019-08-17 22:52:33 +08:00
										 |  |  | <?php namespace BookStack\Exceptions; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-09-16 01:29:51 +08:00
										 |  |  | class UserTokenExpiredException extends \Exception | 
					
						
							|  |  |  | { | 
					
						
							| 
									
										
										
										
											2019-08-17 22:52:33 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  |     public $userId; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     /** | 
					
						
							|  |  |  |      * UserTokenExpiredException constructor. | 
					
						
							|  |  |  |      * @param string $message | 
					
						
							|  |  |  |      * @param int $userId | 
					
						
							|  |  |  |      */ | 
					
						
							|  |  |  |     public function __construct(string $message, int $userId) | 
					
						
							|  |  |  |     { | 
					
						
							|  |  |  |         $this->userId = $userId; | 
					
						
							|  |  |  |         parent::__construct($message); | 
					
						
							|  |  |  |     } | 
					
						
							| 
									
										
										
										
											2019-09-16 01:29:51 +08:00
										 |  |  | } |