PageRenderTime 24ms CodeModel.GetById 18ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/library/Zend/OpenId/Exception.php

https://bitbucket.org/hamidrezas/melobit
PHP | 58 lines | 9 code | 7 blank | 42 comment | 0 complexity | 5c51b21bee21682e92df3fbac8bef35c MD5 | raw file
Possible License(s): AGPL-1.0
 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-2012 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 24594 2012-01-05 21:27:01Z matthew $
21 */
22
23/**
24 * @see Zend_Exception
25 */
26require_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-2012 Zend Technologies USA Inc. (http://www.zend.com)
34 * @license    http://framework.zend.com/license/new-bsd     New BSD License
35 */
36class 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}