File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Elasticsearch in Action
this week in the
EJB Certification (SCBCD/OCPJBCD)
Joined: Jul 08, 2004
Nov 17, 2004 23:44:00
void setRollbackOnly() throws
boolean getRollbackOnly() throws
boolean isCallerInRole(String roleName);
There is no throws class that cantains
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.
It is sorta covered in the
JavaRanch Style Guide
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-2015