Add Horde_Exception_PermissionDenied.
authorJan Schneider <jan@horde.org>
Tue, 9 Feb 2010 11:46:44 +0000 (12:46 +0100)
committerJan Schneider <jan@horde.org>
Wed, 10 Feb 2010 16:31:44 +0000 (17:31 +0100)
framework/Exception/lib/Horde/Exception/PermissionDenied.php [new file with mode: 0644]
framework/Exception/package.xml

diff --git a/framework/Exception/lib/Horde/Exception/PermissionDenied.php b/framework/Exception/lib/Horde/Exception/PermissionDenied.php
new file mode 100644 (file)
index 0000000..93b8fce
--- /dev/null
@@ -0,0 +1,15 @@
+<?php
+/**
+ * Exception thrown if any access without sufficient permissions occured.
+ *
+ * Copyright 2010 The Horde Project (http://www.horde.org/)
+ *
+ * See the enclosed file COPYING for license information (LGPL). If you
+ * did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
+ *
+ * @category Horde
+ * @package  Horde_Exception
+ */
+class Horde_Exception_PermissionDenied extends Horde_Exception
+{
+}
\ No newline at end of file
index 00e5ae2..6ac7f3c 100644 (file)
@@ -42,6 +42,9 @@ http://pear.php.net/dtd/package-2.0.xsd">
   <dir name="/">
    <dir name="lib">
     <dir name="Horde">
+     <dir name="Exception">
+      <file name="PermissionDenied.php" role="php" />
+     </dir> <!-- /lib/Exception -->
      <file name="Exception.php" role="php" />
     </dir> <!-- /lib/Horde -->
    </dir> <!-- /lib -->
@@ -60,6 +63,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
  <phprelease>
   <filelist>
    <install name="lib/Horde/Exception.php" as="Horde/Exception.php" />
+   <install name="lib/Horde/Exception/PermissionDenied.php" as="Horde/Exception/PermissionDenied.php" />
   </filelist>
  </phprelease>
  <changelog/>