If you rethrow the exception the context will stop loading and your
application will be effectively dead. Or if you really want the JVM to
completely stop call System.exit(1)
http://stackoverflow.com/questions/5421022/how-to-gracefully-deal-with-bean-initialization-failures-in-spring-3-applicati
No comments:
Post a Comment