Skip to content

Commit 17e45c4

Browse files
committed
Add backslash \ to \Exception resolves #244.
1 parent d124d80 commit 17e45c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

classes/cache_purger.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ public static function get_coderunner_cache_definition() {
186186
'gradingcachedefintionnotfound',
187187
'qtype_coderunner'
188188
);
189-
throw new Exception($error);
189+
throw new \Exception($error);
190190
}
191191

192192

@@ -202,7 +202,7 @@ public static function get_first_file_store(cache_definition $definition) {
202202
'gradingcachefilestorenotfound',
203203
'qtype_coderunner'
204204
);
205-
throw new Exception($error);
205+
throw new \Exception($error);
206206
}
207207

208208

0 commit comments

Comments
 (0)