News

OOP can seem a bit abstract at first, but once you get the hang of it, it’ll change the way you write code. It’s all about thinking in terms of objects and their interactions, which leads to cleaner, ...
What you’ll learn in this Java tutorial About Java exceptions and their types The difference between checked and unchecked exceptions Three ways to throw Java exceptions How to test for ...
The JTA specification it's not clear about behaviour of CDI interceptor in case of unchecked exceptions. That part of the spec talks explicitly about RuntimeException to cause the transaction to be ...
Solution When using code, it's hard to say if that particular code throws an exception or not. That's why I suggest to implement a concept similar to checked exceptions in Java. Checked exceptions ...
I know we've had many fine threads on exceptions in Java. Hopefully this particular question hasn't been discussed to death. I solved Problem 11 on Project Euler today. It requires you to do a ...