Team LiB
Previous Section Next Section

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( );  
}

    Team LiB
    Previous Section Next Section