Files
Testing/vidchat/m/SabreAMF/ClassNotFoundException.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

47 lines
1.3 KiB
PHP

<?php
/**
* SabreAMF_ClassNotFoundException
*
* @package SabreAMF
* @version $Id: ClassNotFoundException.php 233 2009-06-27 23:10:34Z evertpot $
* @copyright Copyright (C) 2006-2009 Rooftop Solutions. All rights reserved.
* @author Evert Pot (http://www.rooftopsolutions.nl/)
* @author Renaun Erickson (http://renaun.com/blog)
* @licence http://www.freebsd.org/copyright/license.html BSD License (4 Clause)
*/
/**
* Detailed exception
*/
require_once 'SabreAMF/DetailException.php';
/**
* This is the receipt for ClassException and default values reflective of ColdFusion RPC faults
*
* @uses SabreAMF_DetailException
*/
class SabreAMF_ClassNotFoundException extends Exception implements SabreAMF_DetailException {
/**
* Constructor
*/
public function __construct( $classname ) {
// Specific message to ClassException
$this->message = "Could not locate class " . $classname;
$this->code = "Server.Processing";
// Call parent class constructor
parent::__construct( $this->message );
}
public function getDetail() {
return "Please check that the given servicename is correct and that the class exists.";
}
}
?>