O'Reilly logo

Java 7 for Absolute Beginners by Jay Bryant

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

C H A P T E R  11

Debugging with Eclipse

Not every error throws an exception; sometimes, due to poor programming, your code will do something totally wrong without throwing an exception. The computer did exactly what you told it to do, but it didn't do what you meant. When programming, it pays to remember that a computer is just a construction of silicon and various metals, so it is literally as dumb as a box of rocks. It has no conscious ability to adjust for your errors, as another person does when you speak or write.

Software developers love exceptions. Every time Java throws an exception, it provides a stack trace, showing us the classes and methods (and line numbers therein) that led to the exception. That makes finding and fixing the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required