tuned;
authorwenzelm
Sun, 30 Dec 2012 18:23:31 +0100
changeset 50641 b908e56e83ca
parent 50640 b35bd8778754
child 50642 aca12f646772
tuned;
src/Pure/Thy/thy_load.scala
src/Tools/jEdit/src/rich_text_area.scala
--- a/src/Pure/Thy/thy_load.scala	Sun Dec 30 18:23:07 2012 +0100
+++ b/src/Pure/Thy/thy_load.scala	Sun Dec 30 18:23:31 2012 +0100
@@ -117,7 +117,7 @@
       val uses = header.uses
       Document.Node.Header(imports, header.keywords, uses)
     }
-    catch { case e: Throwable => Document.Node.bad_header(Exn.message(e)) }
+    catch { case exn: Throwable => Document.Node.bad_header(Exn.message(exn)) }
   }
 
   def check_thy(name: Document.Node.Name): Document.Node.Header =
--- a/src/Tools/jEdit/src/rich_text_area.scala	Sun Dec 30 18:23:07 2012 +0100
+++ b/src/Tools/jEdit/src/rich_text_area.scala	Sun Dec 30 18:23:31 2012 +0100
@@ -45,7 +45,7 @@
         default
       }
     }
-    catch { case t: Throwable => Log.log(Log.ERROR, this, t); default }
+    catch { case exn: Throwable => Log.log(Log.ERROR, this, exn); default }
   }