summaryrefslogtreecommitdiffstats
path: root/Acl/Exception
diff options
context:
space:
mode:
Diffstat (limited to 'Acl/Exception')
-rw-r--r--Acl/Exception/AclAlreadyExistsException.php22
-rw-r--r--Acl/Exception/AclNotFoundException.php22
-rw-r--r--Acl/Exception/ConcurrentModificationException.php22
-rw-r--r--Acl/Exception/Exception.php21
-rw-r--r--Acl/Exception/InvalidDomainObjectException.php22
-rw-r--r--Acl/Exception/NoAceFoundException.php26
-rw-r--r--Acl/Exception/NotAllAclsFoundException.php46
-rw-r--r--Acl/Exception/SidNotLoadedException.php22
8 files changed, 0 insertions, 203 deletions
diff --git a/Acl/Exception/AclAlreadyExistsException.php b/Acl/Exception/AclAlreadyExistsException.php
deleted file mode 100644
index 512da7f..0000000
--- a/Acl/Exception/AclAlreadyExistsException.php
+++ /dev/null
@@ -1,22 +0,0 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-namespace Symfony\Component\Security\Acl\Exception;
-
-/**
- * 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
-{
-}
diff --git a/Acl/Exception/AclNotFoundException.php b/Acl/Exception/AclNotFoundException.php
deleted file mode 100644
index bd66c00..0000000
--- a/Acl/Exception/AclNotFoundException.php
+++ /dev/null
@@ -1,22 +0,0 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-namespace Symfony\Component\Security\Acl\Exception;
-
-/**
- * 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
-{
-}
diff --git a/Acl/Exception/ConcurrentModificationException.php b/Acl/Exception/ConcurrentModificationException.php
deleted file mode 100644
index a527d9c..0000000
--- a/Acl/Exception/ConcurrentModificationException.php
+++ /dev/null
@@ -1,22 +0,0 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-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
-{
-}
diff --git a/Acl/Exception/Exception.php b/Acl/Exception/Exception.php
deleted file mode 100644
index f1e1001..0000000
--- a/Acl/Exception/Exception.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-namespace Symfony\Component\Security\Acl\Exception;
-
-/**
- * Base ACL exception.
- *
- * @author Johannes M. Schmitt <schmittjoh@gmail.com>
- */
-class Exception extends \RuntimeException
-{
-}
diff --git a/Acl/Exception/InvalidDomainObjectException.php b/Acl/Exception/InvalidDomainObjectException.php
deleted file mode 100644
index fc1a646..0000000
--- a/Acl/Exception/InvalidDomainObjectException.php
+++ /dev/null
@@ -1,22 +0,0 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-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
-{
-}
diff --git a/Acl/Exception/NoAceFoundException.php b/Acl/Exception/NoAceFoundException.php
deleted file mode 100644
index 4d194d9..0000000
--- a/Acl/Exception/NoAceFoundException.php
+++ /dev/null
@@ -1,26 +0,0 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-namespace Symfony\Component\Security\Acl\Exception;
-
-/**
- * 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
-{
- public function __construct()
- {
- parent::__construct('No applicable ACE was found.');
- }
-}
diff --git a/Acl/Exception/NotAllAclsFoundException.php b/Acl/Exception/NotAllAclsFoundException.php
deleted file mode 100644
index a634382..0000000
--- a/Acl/Exception/NotAllAclsFoundException.php
+++ /dev/null
@@ -1,46 +0,0 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-namespace Symfony\Component\Security\Acl\Exception;
-
-/**
- * This exception is thrown when you have requested ACLs for multiple object
- * identities, but the AclProvider implementation failed to find ACLs for all
- * identities.
- *
- * This exception contains the partial result.
- *
- * @author Johannes M. Schmitt <schmittjoh@gmail.com>
- */
-class NotAllAclsFoundException extends AclNotFoundException
-{
- private $partialResult;
-
- /**
- * Sets the partial result.
- *
- * @param \SplObjectStorage $result
- */
- public function setPartialResult(\SplObjectStorage $result)
- {
- $this->partialResult = $result;
- }
-
- /**
- * Returns the partial result.
- *
- * @return \SplObjectStorage
- */
- public function getPartialResult()
- {
- return $this->partialResult;
- }
-}
diff --git a/Acl/Exception/SidNotLoadedException.php b/Acl/Exception/SidNotLoadedException.php
deleted file mode 100644
index cb8c4cc..0000000
--- a/Acl/Exception/SidNotLoadedException.php
+++ /dev/null
@@ -1,22 +0,0 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-namespace Symfony\Component\Security\Acl\Exception;
-
-/**
- * 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
-{
-}