Save This Page
Home » apache-harmony-6.0-src-r917296-snapshot » java » lang » [javadoc | source]
java.lang
public class: TypeNotPresentException [javadoc | source]
java.lang.Object
   java.lang.Throwable
      java.lang.Exception
         java.lang.RuntimeException
            java.lang.TypeNotPresentException

All Implemented Interfaces:
    Serializable

Thrown when a program tries to access a class, interface, enum or annotation type through a string that contains the type's name and the type cannot be found. This exception is an unchecked alternative to java.lang.ClassNotFoundException .
Constructor:
 public TypeNotPresentException(String typeName,
    Throwable cause) 
    Constructs a new {@code TypeNotPresentException} with the current stack trace, a detail message that includes the name of the type that could not be found and the {@code Throwable} that caused this exception.
    Parameters:
    typeName - the fully qualified name of the type that could not be found.
    cause - the optional cause of this exception, may be {@code null}.
Method from java.lang.TypeNotPresentException Summary:
typeName
Methods from java.lang.Throwable:
fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.lang.TypeNotPresentException Detail:
 public String typeName() 
    Gets the fully qualified name of the type that could not be found.