Re: Unable to release locks when using MultiECLockManager
Re: Unable to release locks when using MultiECLockManager
- Subject: Re: Unable to release locks when using MultiECLockManager
- From: Lachlan Deck <email@hidden>
- Date: Thu, 1 May 2008 11:04:11 +1000
You need to throw an instanceof RuntimeException.
On 01/05/2008, at 9:24 AM, Owen McKerrow wrote:
Now this may be a basic Java question and I tried to ask it
yesterday, but probably in a very poor fashion.
When your dealing with overriding a method and the original method
does not throw an exception, but you do in your over-ride you
receive a compile error something like....
"terminate() in Session cannot override terminate() in Session;
overridden method does not throw java.lang.Exception"
Which means that any exceptions that are thrown you need to deal
with them at this methods level, correct ? Or is there a way to
throw them without this message appearing
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
with regards,
--
Lachlan Deck
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden