mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 10:26:40 +02:00
MDL-20636 Reveiw all throw statements.
This commit is contained in:
parent
f7970e3ca7
commit
88f0eb1546
15 changed files with 56 additions and 80 deletions
|
@ -55,14 +55,14 @@ class qbehaviour_missing extends question_behaviour {
|
|||
}
|
||||
|
||||
public function init_first_step(question_attempt_step $step) {
|
||||
throw new Exception('The behaviour used for this question is not available. No processing is possible.');
|
||||
throw new coding_exception('The behaviour used for this question is not available. No processing is possible.');
|
||||
}
|
||||
|
||||
public function process_action(question_attempt_pending_step $pendingstep) {
|
||||
throw new Exception('The behaviour used for this question is not available. No processing is possible.');
|
||||
throw new coding_exception('The behaviour used for this question is not available. No processing is possible.');
|
||||
}
|
||||
|
||||
public function get_min_fraction() {
|
||||
throw new Exception('The behaviour used for this question is not available. No processing is possible.');
|
||||
throw new coding_exception('The behaviour used for this question is not available. No processing is possible.');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue