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/OutOfSequenceBeforeAuthenticationCallException.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 an
34 * authentication call has not yet happened.
35 *
36 * @class    CAS_OutOfSequenceBeforeAuthenticationCallException
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 */
43class CAS_OutOfSequenceBeforeAuthenticationCallException
44extends CAS_OutOfSequenceException
45implements CAS_Exception
46{
47    /**
48     * Return standard error meessage
49     *
50     * @return void
51     */
52    public function __construct ()
53    {
54        parent::__construct('An authentication call hasn\'t happened yet.');
55    }
56}
57