Common system exceptions
Besides the standard application exceptions for EJB, there are several important system exceptions. A few (including EJBException) are part of the J2EE API, but two of the most likely system exceptions in EJB include java.rmi.NoSuchObjectException and java.lang.IllegalStateException.
Local clients and beans will get these (unchecked)
Only Remote clients will get these (checked)
Get Head First EJB now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.