Files
moodle/lib/horde/framework/Horde/Exception/NotFound.php
T
Andrew Nicols 7d1cfe4c80 MDL-47195 libraries: Add horde IMAP from Horde 5.2.1
This issue is a part of the MDL-47194 Task.
This issue is a part of the MDL-39707 Epic.
2014-09-24 14:59:13 +08:00

31 lines
903 B
PHP

<?php
/**
* Exception thrown if an object wasn't found.
*
* Copyright 2010-2014 Horde LLC (http://www.horde.org/)
*
* See the enclosed file COPYING for license information (LGPL). If you
* did not receive this file, see http://www.horde.org/licenses/lgpl21.
*
* @category Horde
* @package 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 integer $code A numeric error code.
*/
public function __construct($message = null, $code = null)
{
if (is_null($message)) {
$message = Horde_Exception_Translation::t("Not Found");
}
parent::__construct($message, $code);
}
}