| 
									
										
										
										
											2015-09-11 02:31:09 +08:00
										 |  |  | <?php namespace BookStack\Exceptions; | 
					
						
							| 
									
										
										
										
											2015-09-05 00:16:58 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class NotifyException extends \Exception | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     public $message; | 
					
						
							|  |  |  |     public $redirectLocation; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     /** | 
					
						
							|  |  |  |      * NotifyException constructor. | 
					
						
							|  |  |  |      * @param string $message | 
					
						
							|  |  |  |      * @param string    $redirectLocation | 
					
						
							|  |  |  |      */ | 
					
						
							|  |  |  |     public function __construct($message, $redirectLocation) | 
					
						
							|  |  |  |     { | 
					
						
							|  |  |  |         $this->message = $message; | 
					
						
							|  |  |  |         $this->redirectLocation = $redirectLocation; | 
					
						
							|  |  |  |         parent::__construct(); | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | } |