[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
Re: [albireo-dev] component creation protocol: allow for some hooks
|
- From: Bruno Haible <haible@xxxxxxx>
- Date: Wed, 23 Jan 2008 22:41:43 +0100
- Delivered-to: albireo-dev@eclipse.org
- Organization: ILOG
- User-agent: KMail/1.9.1
Gordon Hirsch wrote:
> <workspace>/.metadata/.log (for an RCP App).
You didn't expect me to know about the existence of an ASCII file under
.metadata, did you? :-)
> > I can rethrow it. No problem.
>
> Unfortunately, you won't be able to re-throw a Throwable without
> declaring it in your throws clause.
It's not hard: If a Runnable throws something, we know it's either an Error
or a RuntimeException. And then we can rethrow it.
Bruno