src/HOL/Tools/refute.ML
changeset 24688 a5754ca5c510
parent 23881 851c74f1bb69
child 24928 3419943838f5
--- a/src/HOL/Tools/refute.ML	Sun Sep 23 23:39:42 2007 +0200
+++ b/src/HOL/Tools/refute.ML	Mon Sep 24 13:52:50 2007 +0200
@@ -1240,9 +1240,9 @@
         ^ (if negate then "refutes" else "satisfies") ^ ": "
         ^ Sign.string_of_term thy t);
       if maxtime>0 then (
-        interrupt_timeout (Time.fromSeconds (Int.toLarge maxtime))
+        TimeLimit.timeLimit (Time.fromSeconds maxtime)
           wrapper ()
-        handle Interrupt =>
+        handle TimeLimit.TimeOut =>
           writeln ("\nSearch terminated, time limit (" ^ string_of_int maxtime
             ^ (if maxtime=1 then " second" else " seconds") ^ ") exceeded.")
       ) else