Methods like setRollbackOnly or getRollbackOnly throw
IllegalStateException if there is no Transaction Context. Supports, NotSoppurted and Never transaction attributes means there is not (or might not - for supports) a Transaction Context.
Generally method which should be called in a transaction context throw IllegalStateException when called from a method not executing in a transaction. This is the ground for the answers given
Regards,
Leena
[ March 11, 2005: Message edited by: Leena Diwan ]