web/Zend/OpenId/Exception.php
changeset 0 4eba9c11703f
equal deleted inserted replaced
-1:000000000000 0:4eba9c11703f
       
     1 <?php
       
     2 
       
     3 /**
       
     4  * Zend Framework
       
     5  *
       
     6  * LICENSE
       
     7  *
       
     8  * This source file is subject to the new BSD license that is bundled
       
     9  * with this package in the file LICENSE.txt.
       
    10  * It is also available through the world-wide-web at this URL:
       
    11  * http://framework.zend.com/license/new-bsd
       
    12  * If you did not receive a copy of the license and are unable to
       
    13  * obtain it through the world-wide-web, please send an email
       
    14  * to license@zend.com so we can send you a copy immediately.
       
    15  *
       
    16  * @category   Zend
       
    17  * @package    Zend_OpenId
       
    18  * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
       
    19  * @license    http://framework.zend.com/license/new-bsd     New BSD License
       
    20  * @version    $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
       
    21  */
       
    22 
       
    23 /**
       
    24  * @see Zend_Exception
       
    25  */
       
    26 require_once "Zend/Exception.php";
       
    27 
       
    28 /**
       
    29  * Exception class for Zend_OpenId
       
    30  *
       
    31  * @category   Zend
       
    32  * @package    Zend_OpenId
       
    33  * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
       
    34  * @license    http://framework.zend.com/license/new-bsd     New BSD License
       
    35  */
       
    36 class Zend_OpenId_Exception extends Zend_Exception
       
    37 {
       
    38 
       
    39     /**
       
    40      * The specified digest algotithm is not supported by this PHP installation
       
    41      */
       
    42     const UNSUPPORTED_DIGEST    = 1;
       
    43 
       
    44     /**
       
    45      * The long math arithmetick is not supported by this PHP installation
       
    46      */
       
    47     const UNSUPPORTED_LONG_MATH = 2;
       
    48 
       
    49     /**
       
    50      * Internal long math arithmetic error
       
    51      */
       
    52     const ERROR_LONG_MATH       = 3;
       
    53 
       
    54     /**
       
    55      * Iternal storage error
       
    56      */
       
    57     const ERROR_STORAGE         = 4;
       
    58 }