--- /dev/null
+<?php
+/**
+ * Exception thrown if an object wasn't found.
+ *
+ * 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_NotFound extends Horde_Exception
+{
+ /**
+ * Constructor.
+ *
+ * @see Horde_Exception::__construct()
+ *
+ * @param mixed $message The exception message, a PEAR_Error
+ * object, or an Exception object.
+ * @param mixed $code_or_lasterror Either a numeric error code, or
+ * an array from error_get_last().
+ */
+ public function __construct($message = null, $code_or_lasterror = null)
+ {
+ if (is_null($message)) {
+ $message = _("Not Found");
+ }
+ parent::__construct($message, $code_or_lasterror);
+ }
+}
\ No newline at end of file
<dir name="lib">
<dir name="Horde">
<dir name="Exception">
+ <file name="NotFound.php" role="php" />
<file name="PermissionDenied.php" role="php" />
</dir> <!-- /lib/Exception -->
<file name="Exception.php" role="php" />
<phprelease>
<filelist>
<install name="lib/Horde/Exception.php" as="Horde/Exception.php" />
+ <install name="lib/Horde/Exception/NotFound.php" as="Horde/Exception/NotFound.php" />
<install name="lib/Horde/Exception/PermissionDenied.php" as="Horde/Exception/PermissionDenied.php" />
</filelist>
</phprelease>