top-image

Tag archives for exception

Java/Spring MVC: Exception Handler, Resolver and Customization
Hello, In this article, I would present you the exception handling and resolving of Spring MVC in a web application. Usually, it’s recommended to display a error page instead of the default long java plain exception code in web application. So, it is possible to configure a custom error page to map a specified error code or exception type in the ...more»
Spring: Transaction management with checked, unchecked exceptions
Often, developers forgotten the transactional behaviour of proxies Spring: - by default, the transaction is rollbacked only in the case of runtime, unchecked exceptions (an instance or subclass of RuntimeException) and for Errors; - the transaction is not rollbacked if a checked exception is thrown from a transactional method. A good practice is to create 2 types of checked exceptions extending Exception: - ...more»
bottom-img
Copyright ® 2012 Huseyin Ozveren. No reproduction, even partial, can be used from this site and all its contents including text, documents, images, etc.. without the express permission of the author.