Java Reference
In-Depth Information
After clicking the
Add New
button in our application, entering some data and
clicking the
Save
button, we are now greeted with the following page.
Looking closely at the
Stack Trace
displayed on the above page, we can see the
following line:
com.ensode.customermanagement.managedbean.EditCustomer.saveButton_
action(EditCustomer.java:147)
The above line is telling us that the exception occurred on line 147 of
EditCustomer.
java
, therefore we need to pause our application's execution just before that line is
executed, so that we can inspect the values of all relevant variables at that point.