MDL-12886 improved access exception

This commit is contained in:
skodak
2009-10-20 23:00:57 +00:00
parent ca6340bf72
commit c91cc5ef45
+1 -1
View File
@@ -709,7 +709,7 @@ abstract class webservice_base_server implements webservice_server {
}
$rs->close();
if (!$allowed) {
throw new invalid_parameter_exception('Access to external function not allowed');
throw new webservice_access_exception('Access to external function not allowed');
}
// we have all we need now