mirror of
				https://github.com/Icinga/icingaweb2.git
				synced 2025-10-31 11:24:51 +01:00 
			
		
		
		
	HttpExceptionInterface now identifies HTTP exceptions, BaseHttpExceptions supersedes HttpException as new superclass for other more concrete Exceptions and HttpException is now a generic class to create new HTTP exceptions on the fly. resolves #2880
		
			
				
	
	
		
			13 lines
		
	
	
		
			277 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			277 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| /* Icinga Web 2 | (c) 2015 Icinga Development Team | GPLv2+ */
 | |
| 
 | |
| namespace Icinga\Exception\Http;
 | |
| 
 | |
| /**
 | |
|  * Exception thrown for sending a HTTP 400 response w/ a custom message
 | |
|  */
 | |
| class HttpBadRequestException extends BaseHttpException
 | |
| {
 | |
|     protected $statusCode = 400;
 | |
| }
 |