Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse Java Development User Guide
Previous Page Home Next Page

Viewing runtime exceptions

If an expression you evaluate causes a runtime exception, the exception will be reported in the editor. For example:

Type and select the expression Object x = null; x.toString() in the editor and click Display in the toolbar.

The error message:

An exception occurred during evaluation: java.lang.NullPointerException

will be displayed in the editor.

Related concepts
Java editor

Related tasks
Displaying the result of evaluating an expression
Inspecting the result of evaluating an expression
Executing an expression

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire