Friday, March 13, 2015



TypeNotPresentException is described in the javadoc comments as:

Thrown when an application tries to access a type using a string representing the type's name, but no definition for the type with the specified name can be found. This exception differs from {link: ClassNotFoundException} in that ClassNotFoundException is a checked exception, whereas this exception is unchecked.

Note that this exception may be used when undefined type variables are accessed as well as when types (e.g., classes, interfaces or annotation types) are loaded.
author: Josh Bloch since: 1.5

Where is this exception thrown?

Following, is a list of exception messages cross-referenced to the source code responsible for throwing them. Click on the method link to view the code and see how the exception is thrown.

  • TypeNotPresentException is not thrown within any available source code.

How is this exception thrown?

The following sub-sections identify where this exception is thrown, and how (or why) the code is throwing the exception.

Any source code quoted in this section is subject to the Java Research License unless stated otherwise.

  • TypeNotPresentException is not thrown within the available source code.

No comments:

Post a Comment