| author | blanchet |
| Wed, 12 Feb 2014 08:35:56 +0100 | |
| changeset 55410 | 54b09e82b9e1 |
| parent 53709 | 84522727f9d3 |
| child 56283 | 20cf88cd3188 |
| permissions | -rw-r--r-- |
(* Title: Pure/ML/exn_trace_polyml-5.5.1.ML Author: Makarius Exception trace for Poly/ML 5.5.1, using regular Isabelle output. *) fun print_exception_trace exn_message e = PolyML.Exception.traceException (e, fn (trace, exn) => let val title = "Exception trace - " ^ exn_message exn; val _ = tracing (cat_lines (title :: trace)); in reraise exn end);