. namespace core\exception; /** * Exception indicating malformed parameter problem. * This exception is not supposed to be thrown when processing * user submitted data in forms. It is more suitable * for WS and other low level stuff. * * @package core * @subpackage exception * @copyright 2009 Petr Skoda {@link http://skodak.org} * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class invalid_parameter_exception extends moodle_exception { /** * Constructor. * * @param string $debuginfo some detailed information */ public function __construct($debuginfo = null) { parent::__construct('invalidparameter', 'debug', '', null, $debuginfo); } } // Alias this class to the old name. // This file will be autoloaded by the legacyclasses autoload system. // In future all uses of this class will be corrected and the legacy references will be removed. class_alias(invalid_parameter_exception::class, \invalid_parameter_exception::class);