About Question enthuware.oce-ejbd.v6.2.392 :
Posted: Mon Dec 03, 2012 12:05 pm
@ApplicationException
public class MyException extends RunTimeException {
}
If I throw any runtime exception (like above) from any of the life cycle method . I dont see any issue in compiling or deployment of my EJB.
Explaination says
Note that a runtime exception may be application exception (if it is annotated as such @javax.ejb.ApplicationException), in which case it is not eligible to be thrown from a life cycle call back method.
When you say ,its not eligible what does that mean?
public class MyException extends RunTimeException {
}
If I throw any runtime exception (like above) from any of the life cycle method . I dont see any issue in compiling or deployment of my EJB.
Explaination says
Note that a runtime exception may be application exception (if it is annotated as such @javax.ejb.ApplicationException), in which case it is not eligible to be thrown from a life cycle call back method.
When you say ,its not eligible what does that mean?