Author: David Monllao
MDL-29563 course Throwing an exception instead of a message
http://git.moodle.org/gw?p=moodle.git;a=commit;h=6b4885319b6d2b49088244536ac13299146193fc
http://github.com/moodle/moodle/commit/6b4885319b6d2b49088244536ac13299146193fc
+ 2.4 en [duplicatenosupport,core_error]
- 2.4 en [duplicatenosupport,core]