Forums Register Login

Application Exceptions in Bean

+Pie Number of slices to send: Send
Is that a best practise to throw Application Exceptions in bean?if not how can we handle exceptions?
Thanks
SK
+Pie Number of slices to send: Send
Kumar,

That depends on you. EJB 3 allows you to use "application" and "run-time" exceptions as you wish.

If you are looking for Java exception handling best practices in general, here is a decent reference: http://www.onjava.com/pub/a/onjava/2003/11/19/exceptions.html.

Regards,
Reza
Roses are red, violets are blue. Some poems rhyme and some don't. And some poems are a tiny ad.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 710 times.
Similar Threads
Exceptions from Container to Bean?
Remote Exception
Websphere not reporting exceptions
Regarding throwing java.rmi.RemoteException
Understanding Exception
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 12:44:40.