Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
<?php
2
 
3
/**
4
 * Licensed to Jasig under one or more contributor license
5
 * agreements. See the NOTICE file distributed with this work for
6
 * additional information regarding copyright ownership.
7
 *
8
 * Jasig licenses this file to you under the Apache License,
9
 * Version 2.0 (the "License"); you may not use this file except in
10
 * compliance with the License. You may obtain a copy of the License at:
11
 *
12
 * http://www.apache.org/licenses/LICENSE-2.0
13
 *
14
 * Unless required by applicable law or agreed to in writing, software
15
 * distributed under the License is distributed on an "AS IS" BASIS,
16
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
 * See the License for the specific language governing permissions and
18
 * limitations under the License.
19
 *
20
 *
21
 * PHP Version 7
22
 *
23
 * @file     CAS/OutOfSequenceBeforeProxyException.php
24
 * @category Authentication
25
 * @package  PhpCAS
26
 * @author   Joachim Fritschi <jfritschi@freenet.de>
27
 * @license  http://www.apache.org/licenses/LICENSE-2.0  Apache License 2.0
28
 * @link     https://wiki.jasig.org/display/CASC/phpCAS
29
 */
30
 
31
/**
32
 * This class defines Exceptions that should be thrown when the sequence of
33
 * operations is invalid. In this case it should be thrown when the proxy() call
34
 * has not yet happened and no proxy object exists.
35
 *
36
 * @class    CAS_OutOfSequenceBeforeProxyException
37
 * @category Authentication
38
 * @package  PhpCAS
39
 * @author   Joachim Fritschi <jfritschi@freenet.de>
40
 * @license  http://www.apache.org/licenses/LICENSE-2.0  Apache License 2.0
41
 * @link     https://wiki.jasig.org/display/CASC/phpCAS
42
 */
43
class CAS_OutOfSequenceBeforeProxyException
44
extends CAS_OutOfSequenceException
45
implements CAS_Exception
46
{
47
 
48
    /**
49
     * Return standard error message
50
     *
51
     * @return void
52
     */
53
    public function __construct ()
54
    {
55
        parent::__construct(
56
            'this method cannot be called before phpCAS::proxy()'
57
        );
58
    }
59
}