lib: Add SecurityException
All assertPermission() calls must throw this exception.
This commit is contained in:
parent
3e128732b8
commit
375345f837
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Security;
|
||||
|
||||
use Icinga\Exception\IcingaException;
|
||||
|
||||
/**
|
||||
* Exception thrown when a caller does not have the permissions required to access a resource
|
||||
*/
|
||||
class SecurityException extends IcingaException
|
||||
{
|
||||
}
|
Loading…
Reference in New Issue