lib: Add SecurityException

All assertPermission() calls must throw this exception.
This commit is contained in:
Eric Lippmann 2015-01-30 09:06:10 +01:00
parent 3e128732b8
commit 375345f837
1 changed files with 12 additions and 0 deletions

View File

@ -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
{
}