src/Pure/context.ML
changeset 61050 3bc7dcc565dc
parent 61045 c7a7f063704a
child 61062 52f3256a6d85
--- a/src/Pure/context.ML	Sun Aug 30 13:08:00 2015 +0200
+++ b/src/Pure/context.ML	Sun Aug 30 15:21:25 2015 +0200
@@ -451,7 +451,7 @@
 
 fun certificate_theory (Certificate thy) = thy
   | certificate_theory (Certificate_Id thy_id) =
-      raise Fail ("No content for theory certificate " ^ quote (display_name thy_id));
+      error ("No content for theory certificate " ^ quote (display_name thy_id));
 
 fun certificate_theory_id (Certificate thy) = theory_id thy
   | certificate_theory_id (Certificate_Id thy_id) = thy_id;