|
From: | Paul Kienzle |
Subject: | Re: rethrow? |
Date: | Fri, 26 Jan 2007 08:21:52 -0500 |
On Jan 26, 2007, at 3:50 AM, David Bateman wrote:
I can't remember early versions of matlab having this function, howeverthere seems to be a useful function called "rethrow" that can be used inconjunction with try/catch like try do_something catch do_cleanup rethrow(lasterror) end It seems like it wouldn't be hard to add this, with the only complexity to me being the format of the variable lasterror.
I think I already do this somewhere: try something catch fixup error(lasterror) end
[Prev in Thread] | Current Thread | [Next in Thread] |