hi i was wondering about the question the following.
An application exception may be a subclass (direct or indirect) of java.lang.Exception (i.e., a “checked exception”), or an application exception class may be defined as a subclass of the java.lang.RuntimeException (an “unchecked exception”).
that implies that ApplicationException might be a Checked or a Unchecked Exception..
According to the SPEC.
a lifecycle CallBack Method...
The method must not throw a checked exception.
it might still throw a Application Exception from a Lifecycle CallBack Method that extends RuntimeException...that means can throw System Exceptions and ApplicationExceptions??'
please let me know if i am wrong....
About Question com.enthuware.ets.scbcd.v5.2.36 :
Moderator: admin
-
- Posts: 37
- Joined: Fri Oct 19, 2012 10:48 am
- Location: Venezuela
- Contact:
-
- Site Admin
- Posts: 10065
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question com.enthuware.ets.scbcd.v5.2.36 :
As the spec says, it must not throw a checked exception. So that means, it may throw a RuntimeException and a RuntimeException may be marked as an application exception using @ApplicationException.
HTH,
Paul.
HTH,
Paul.
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: No registered users and 80 guests