• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

System exception is a RemoteException

 
Himai Minh
Ranch Hand
Posts: 1361
7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On p.382 of JSR, session 14.2.2 System Exceptions
A system exception is an exception that is a java.rmi.RemoteException....


Based on some of my previous discussions on this forum, I guess this quote is only true for EJB 2.0.

In EJB 3.0 or later, a system exception is an exception that is a javax.ejb.EJBException.
Any comments?
 
Frits Walraven
Creator of Enthuware JWS+ V6
Saloon Keeper
Pie
Posts: 2536
113
Android Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, the java.rmi.RemoteException is there for backwards compatibility of EJB 2.x.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic