diff options
Diffstat (limited to 'Acl/Exception')
-rw-r--r-- | Acl/Exception/AclAlreadyExistsException.php | 22 | ||||
-rw-r--r-- | Acl/Exception/AclNotFoundException.php | 22 | ||||
-rw-r--r-- | Acl/Exception/ConcurrentModificationException.php | 13 | ||||
-rw-r--r-- | Acl/Exception/Exception.php | 21 | ||||
-rw-r--r-- | Acl/Exception/InvalidDomainObjectException.php | 13 | ||||
-rw-r--r-- | Acl/Exception/NoAceFoundException.php | 22 | ||||
-rw-r--r-- | Acl/Exception/SidNotLoadedException.php | 22 |
7 files changed, 135 insertions, 0 deletions
diff --git a/Acl/Exception/AclAlreadyExistsException.php b/Acl/Exception/AclAlreadyExistsException.php new file mode 100644 index 0000000..223b52c --- /dev/null +++ b/Acl/Exception/AclAlreadyExistsException.php @@ -0,0 +1,22 @@ +<?php + +namespace Symfony\Component\Security\Acl\Exception; + +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier <fabien.potencier@symfony-project.com> + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + +/** + * This exception is thrown when someone tries to create an ACL for an object + * identity that already has one. + * + * @author Johannes M. Schmitt <schmittjoh@gmail.com> + */ +class AclAlreadyExistsException extends Exception +{ +}
\ No newline at end of file diff --git a/Acl/Exception/AclNotFoundException.php b/Acl/Exception/AclNotFoundException.php new file mode 100644 index 0000000..140e739 --- /dev/null +++ b/Acl/Exception/AclNotFoundException.php @@ -0,0 +1,22 @@ +<?php + +namespace Symfony\Component\Security\Acl\Exception; + +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier <fabien.potencier@symfony-project.com> + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + +/** + * This exception is thrown when we cannot locate an ACL for a passed + * ObjectIdentity implementation. + * + * @author Johannes M. Schmitt <schmittjoh@gmail.com> + */ +class AclNotFoundException extends Exception +{ +}
\ No newline at end of file diff --git a/Acl/Exception/ConcurrentModificationException.php b/Acl/Exception/ConcurrentModificationException.php new file mode 100644 index 0000000..fd65c2b --- /dev/null +++ b/Acl/Exception/ConcurrentModificationException.php @@ -0,0 +1,13 @@ +<?php + +namespace Symfony\Component\Security\Acl\Exception; + +/** + * This exception is thrown whenever you change shared properties of more than + * one ACL of the same class type concurrently. + * + * @author Johannes M. Schmitt <schmittjoh@gmail.com> + */ +class ConcurrentModificationException extends Exception +{ +}
\ No newline at end of file diff --git a/Acl/Exception/Exception.php b/Acl/Exception/Exception.php new file mode 100644 index 0000000..0e0add3 --- /dev/null +++ b/Acl/Exception/Exception.php @@ -0,0 +1,21 @@ +<?php + +namespace Symfony\Component\Security\Acl\Exception; + +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier <fabien.potencier@symfony-project.com> + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + +/** + * Base ACL exception + * + * @author Johannes M. Schmitt <schmittjoh@gmail.com> + */ +class Exception extends \Exception +{ +}
\ No newline at end of file diff --git a/Acl/Exception/InvalidDomainObjectException.php b/Acl/Exception/InvalidDomainObjectException.php new file mode 100644 index 0000000..12f0b9a --- /dev/null +++ b/Acl/Exception/InvalidDomainObjectException.php @@ -0,0 +1,13 @@ +<?php + +namespace Symfony\Component\Security\Acl\Exception; + +/** + * This exception is thrown when ObjectIdentity fails to construct an object + * identity from the passed domain object. + * + * @author Johannes M. Schmitt <schmittjoh@gmail.com> + */ +class InvalidDomainObjectException extends Exception +{ +}
\ No newline at end of file diff --git a/Acl/Exception/NoAceFoundException.php b/Acl/Exception/NoAceFoundException.php new file mode 100644 index 0000000..788be2a --- /dev/null +++ b/Acl/Exception/NoAceFoundException.php @@ -0,0 +1,22 @@ +<?php + +namespace Symfony\Component\Security\Acl\Exception; + +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier <fabien.potencier@symfony-project.com> + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + +/** + * This exception is thrown when we cannot locate an ACE that matches the + * combination of permission masks and security identities. + * + * @author Johannes M. Schmitt <schmittjoh@gmail.com> + */ +class NoAceFoundException extends Exception +{ +}
\ No newline at end of file diff --git a/Acl/Exception/SidNotLoadedException.php b/Acl/Exception/SidNotLoadedException.php new file mode 100644 index 0000000..c856dce --- /dev/null +++ b/Acl/Exception/SidNotLoadedException.php @@ -0,0 +1,22 @@ +<?php + +namespace Symfony\Component\Security\Acl\Exception; + +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier <fabien.potencier@symfony-project.com> + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + +/** + * This exception is thrown when ACEs for an SID are requested which has not + * been loaded from the database. + * + * @author Johannes M. Schmitt <schmittjoh@gmail.com> + */ +class SidNotLoadedException extends Exception +{ +}
\ No newline at end of file |