Файл: library/Sabre/Sabre/DAV/Exception/NotAuthenticated.php
Строк: 27
<?php
/**
* NotAuthenticated
*
*
* @package Sabre
* @subpackage DAV
* @version $Id$
* @copyright Copyright (C) 2007-2010 Rooftop Solutions. All rights reserved.
* @author Evert Pot (http://www.rooftopsolutions.nl/)
* @license http://code.google.com/p/sabredav/wiki/License Modified BSD License
*/
/**
* NotAuthenticated
*
* This exception is thrown when the client did not provide valid
* authentication credentials.
*/
class Sabre_DAV_Exception_NotAuthenticated extends Sabre_DAV_Exception {
/**
* getHTTPCode
*
* @return int
*/
public function getHTTPCode() {
return 401;
}
}