Java in a Nutshell, 5th Edition [Electronic resources]

نسخه متنی -صفحه : 1191/ 277
نمايش فراداده

TypeNotPresentExceptionjava.lang

Java 5.0serializable unchecked

This unchecked exception signals that a class file associated with a java.lang.reflect.Type could not be found. It typically results when a class depends on a type that has changed or been removed and indicates version skew that requires recompilation or code refactoring. This is essentially the generic type version of ClassNotFoundException.

Figure 10-67. java.lang.TypeNotPresentException

public class

TypeNotPresentException extends RuntimeException { // Public Constructors public

TypeNotPresentException (String

typeName , Throwable

cause ); // Public Instance Methods public String

typeName ( ); }