While, technically correct, the message from TimeoutException and EofException are without any context. Can they be augmented to include what was being matched at the moment they were thrown?
commit b1956ae0e033bbecd1d58cdf732e806968e82e81 Author: Andrew Cagney <cagney@redhat.com> Date: Mon Dec 17 12:24:52 2007 -0500 Refactor EndOfFileException and TimeoutException into MatchException. 2007-12-17 cagney <cagney@redhat.com> * MatchException.java: New. * EndOfFileException.java: Extend MatchException. (message()): Delete. * TimeoutException.java: Ditto. commit 523f56213ae2f667cce2af311f7a837c2e22188b Author: Andrew Cagney <cagney@redhat.com> Date: Fri Dec 14 20:07:35 2007 -0500 expunit.EofException -> EndOfFileException; expand exception messages. frysk-core/frysk/hpd/ChangeLog 2007-12-14 cagney <cagney@redhat.com> * HpdTestbed.java: Update; EofException renamed to EndOfFileException. * TestPreprocessor.java: Ditto. frysk-sys/frysk/expunit/ChangeLog 2007-12-14 cagney <cagney@redhat.com> * EndOfFileException.java: Rename EofException.java. (EndOfFileException(Match[], String)): Replace EndOfFileException(). * TimeoutException.java (TimeoutException(long, Match[], String)): Repla * Expect.java: Update.