Build 1.0_r1(from source)

java.lang
Class TypeNotPresentException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.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
See Also:
Serialized Form

Constructor Summary
TypeNotPresentException(String typeName, Throwable cause)
           Constructs an instance will a fully qualified type name and an optional cause.
 
Method Summary
 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TypeNotPresentException

public TypeNotPresentException(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 String typeName()

The fully qualified type name.

Returns:
A String instance.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature