java.lang
Class TypeNotPresentException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjava.lang.TypeNotPresentException
All Implemented Interfaces:
Serializable

public class TypeNotPresentException
extends RuntimeException

Indicates that a class, interface, enum or annotation type cannot be found. This exception is an unchecked alternative to ClassNotFoundException.

Since:
1.5
Author:
Nathan Beyer (Harmony)
See Also:
Serialized Form

Constructor Summary
TypeNotPresentException(java.lang.String typeName, Throwable cause)
           Constructs an instance will a fully qualified type name and an optional cause.
 
Method Summary
 java.lang.String typeName()
           The fully qualified type name.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TypeNotPresentException

public TypeNotPresentException(java.lang.String typeName,
                               Throwable cause)

Constructs an instance will a fully qualified type name and an optional cause.

Parameters:
typeName - The fully qualified type name.
cause - The Throwable that caused this exception or null.
Method Detail

typeName

public java.lang.String typeName()

The fully qualified type name.

Returns:
A String instance.