Which is a correct way of defining a runtime exception as an EJB 3.0 application exception?

Which is a correct way of defining a runtime exception as an EJB 3.0 application exception?

Which is a correct way of defining a runtime exception as an EJB 3.0 application exception?

A.
public class MyAppException extends javax.ejb.EJBException

B.
@ApplicationException
public class MyAppException extends Java. rmi.RemoteException

C.
public class MyAppException extends Java. lang. RuntimeException

D.
@ApplicationException
public class MyAppException extends Java. lang. RuntimeException



Leave a Reply 0

Your email address will not be published. Required fields are marked *