A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
EJB Certification (SCBCD/OCPJBCD)
Joined: Jul 08, 2004
Nov 17, 2004 23:44:00
void setRollbackOnly() throws IllegalStateException;
boolean getRollbackOnly() throws IllegalStateException;
boolean isCallerInRole(String roleName);
There is no throws class that cantains IllegalStateException so how come it can thro this type of exception if called on MDB's.
Joined: Jun 22, 2003
Nov 18, 2004 05:58:00
I think you are talking about
is runtime exception and not a checked one. So one is not required to declare it in throws clause.
Regards,<br />Sandesh<br />(SCJCP, SCWCD, SCBCD - 99%, OCP-1)<br /> <br />Either find a way or create one.
I agree. Here's the link:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
Mock Question - I'm I missing something?
Doubt about isCallerInRole-Question
caller principal question from spec
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013