From 203fda8a4d1f7fd39bd03697be790a893817e700 Mon Sep 17 00:00:00 2001 From: jerome mouneyrac Date: Thu, 22 Apr 2010 01:51:24 +0000 Subject: [PATCH] web service MDL-21351 add a bit more information to the exception message when function implementation is missing --- lib/externallib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/externallib.php b/lib/externallib.php index f44f624a943..15247fa1601 100644 --- a/lib/externallib.php +++ b/lib/externallib.php @@ -53,7 +53,7 @@ function external_function_info($function, $strictness=MUST_EXIST) { // make sure the implementaion class is ok if (!method_exists($function->classname, $function->methodname)) { - throw new coding_exception('Missing implementation method'); + throw new coding_exception('Missing implementation method of '.$function->classname.'::'.$function->methodname); } if (!method_exists($function->classname, $function->parameters_method)) { throw new coding_exception('Missing parameters description');