Files
Testing/vidchat/m/SabreAMF/InvalidAMFException.php
sean 0e8a8b3028
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-17 16:15:01 -05:00

46 lines
1.0 KiB
PHP

<?php
/**
* SabreAMF_InvalidAMFException
*
* @package SabreAMF
* @version $Id: $
* @copyright Copyright (C) 2006-2009 Rooftop Solutions. All rights reserved.
* @author Asbjørn Sloth Tønnesen <asbjorn@lila.io>
* @licence http://www.freebsd.org/copyright/license.html BSD License (4 Clause)
*/
/**
* Detailed exception
*/
require_once 'SabreAMF/DetailException.php';
/**
* In valid AMF exception
*
* @uses SabreAMF_DetailException
*/
class SabreAMF_InvalidAMFException extends Exception implements SabreAMF_DetailException {
/**
* Constructor
*/
public function __construct() {
// Specific message to ClassException
$this->message = "No valid AMF request received";
$this->code = "Server.Processing";
// Call parent class constructor
parent::__construct( $this->message );
}
public function getDetail() {
return "Please check that you are calling this page with Flash and AMF.";
}
}
?>