Java TypeNotPresentException
Definition and Usage
A TypeNotPresentException happens when Java tries to use a type (a class, an interface or an enum) by its name, but cannot find it. It is like ClassNotFoundException, but it is unchecked (Java does not require you to catch it).
It is rare in normal programs. It happens mostly when a program reads annotations (labels like @Deprecated that give extra information about code) while it runs, and a class that they name is missing.
Related Pages
Java Exceptions (try...catch) Tutorial
❮ Errors & Exceptions