explicit treatment of empty exception block, which could lead to confusing output (e.g. in the theory loader), or even prevent error output altogether;
--- a/src/Pure/Isar/runtime.ML Wed Jun 09 15:09:00 2010 +0200
+++ b/src/Pure/Isar/runtime.ML Wed Jun 09 16:23:00 2010 +0200
@@ -54,6 +54,7 @@
val detailed = ! Output.debugging;
fun exn_msg _ (CONTEXT (ctxt, exn)) = exn_msg (SOME ctxt) exn
+ | exn_msg _ (Exn.EXCEPTIONS []) = "Exception."
| exn_msg ctxt (Exn.EXCEPTIONS exns) = cat_lines (map (exn_msg ctxt) exns)
| exn_msg ctxt (EXCURSION_FAIL (exn, loc)) =
exn_msg ctxt exn ^ Markup.markup Markup.location ("\n" ^ loc)