Harmonize exceptions
This commit is contained in:
		
					parent
					
						
							
								6a1a7291b9
							
						
					
				
			
			
				commit
				
					
						8a3c5e7941
					
				
			
		
					 5 changed files with 21 additions and 4 deletions
				
			
		|  | @ -11,7 +11,7 @@ | ||||||
| 
 | 
 | ||||||
| namespace FFMpeg\Exception; | namespace FFMpeg\Exception; | ||||||
| 
 | 
 | ||||||
| class BinaryNotFoundException extends \Exception | class BinaryNotFoundException extends \Exception implements Exception | ||||||
| { | { | ||||||
| 
 | 
 | ||||||
| } | } | ||||||
|  |  | ||||||
							
								
								
									
										17
									
								
								src/FFMpeg/Exception/Exception.php
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								src/FFMpeg/Exception/Exception.php
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,17 @@ | ||||||
|  | <?php | ||||||
|  | 
 | ||||||
|  | /* | ||||||
|  |  * This file is part of PHP-FFmpeg. | ||||||
|  |  * | ||||||
|  |  * (c) Alchemy <info@alchemy.fr> | ||||||
|  |  * | ||||||
|  |  * For the full copyright and license information, please view the LICENSE | ||||||
|  |  * file that was distributed with this source code. | ||||||
|  |  */ | ||||||
|  | 
 | ||||||
|  | namespace FFMpeg\Exception; | ||||||
|  | 
 | ||||||
|  | interface Exception | ||||||
|  | { | ||||||
|  | 
 | ||||||
|  | } | ||||||
|  | @ -11,7 +11,7 @@ | ||||||
| 
 | 
 | ||||||
| namespace FFMpeg\Exception; | namespace FFMpeg\Exception; | ||||||
| 
 | 
 | ||||||
| class InvalidFileArgumentException extends \InvalidArgumentException | class InvalidFileArgumentException extends \InvalidArgumentException implements Exception | ||||||
| { | { | ||||||
| 
 | 
 | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -11,7 +11,7 @@ | ||||||
| 
 | 
 | ||||||
| namespace FFMpeg\Exception; | namespace FFMpeg\Exception; | ||||||
| 
 | 
 | ||||||
| class LogicException extends \LogicException | class LogicException extends \LogicException implements Exception | ||||||
| { | { | ||||||
| 
 | 
 | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -11,7 +11,7 @@ | ||||||
| 
 | 
 | ||||||
| namespace FFMpeg\Exception; | namespace FFMpeg\Exception; | ||||||
| 
 | 
 | ||||||
| class RuntimeException extends \RuntimeException | class RuntimeException extends \RuntimeException implements Exception | ||||||
| { | { | ||||||
| 
 | 
 | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue