Skip to content

Commit 8610646

Browse files
authored
Merge pull request #245 from lucaboesch/exceptionclass
\Exception class calls fixed
2 parents 2f33dd7 + 17e45c4 commit 8610646

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

classes/cache_purger.php

Lines changed: 2 additions & 2 deletions
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)