This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
/** * Call back methods cannot declare to throw Checked Exception. * If done the bean will not be deployed and will generate an * error as incorrect callback signature. * * Callbacks can declare to throw RuntimeException. If * PostConstruct throws a RuntimeException, the bean instance * is destryoed and PreDestroy method is not invoked. */ /** * Business method can be declared to throw Checked exception. * The bean instance is not removed from service. * @throws Exception */ /** * Business method can be declared to throw Runtime exception. * When the business method throws Runtime exception, PreDestroy * is invoked before the instance is destroyed. * @throws RuntimeException */
Please confirm, if the above statements are correct. I have verified them before coming up with these points. I just want to confirm with the experts.