The Artima Developer Community
Sponsored Link

Legacy Design Forum
Designing with Exceptions

Advertisement

Advertisement

This page contains an archived post to the Design Forum (formerly called the Flexible Java Forum) made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

runtime exception

Posted by Gary on August 16, 2001 at 10:34 PM

you may extend your exceptions from a runtime exception. but if you try to catch EJBException (runtime exception) from entity bean's ejbStore(), you will have compile error, because you can't thorw it without throws in ejbStore declaration. Also you won't know when it will happen. Furthermore, you won't be able to catch it, because container will get it first. Anyone who knows how to deal with this problem in weblogic, please let me know. Thanks!!






Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us