* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://wiki.jasig.org/display/CASC/phpCAS */ /** * This class defines Exceptions that should be thrown when the sequence of * operations is invalid. In this case it should be thrown when the client() or * proxy() call has not yet happened and no client or proxy object exists. * * @class CAS_OutOfSequenceBeforeClientException * @category Authentication * @package PhpCAS * @author Joachim Fritschi * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://wiki.jasig.org/display/CASC/phpCAS */ class CAS_OutOfSequenceBeforeClientException extends CAS_OutOfSequenceException implements CAS_Exception { /** * Return standard error message * * @return void */ public function __construct () { parent::__construct( 'this method cannot be called before phpCAS::client() or phpCAS::proxy()' ); } }