aicas logoJamaica 6.4 release 1

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

TypeNotPresentException is a runtime exception that is thrown when a type given as a string could not be loaded or created.

Since:
1.5
See Also:
Serialized Form

Constructor Summary
TypeNotPresentException(String name, Throwable ex)
          Constructor for a TypeNotPresentException with given detail message and cause.
 
Method Summary
 String typeName()
          typeName returns the name of the type that is not present.
 
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 name,
                               Throwable ex)
Constructor for a TypeNotPresentException with given detail message and cause.

ensures

    (name  != null IMPLIES getMessage().equals(name),
     ex != null IMPLIES getCause() == ex);
 

Parameters:
name - the name of the type that is not present.
ex - the cause why this exception was created or null if none.
Since:
1.5
Method Detail

typeName

public String typeName()
typeName returns the name of the type that is not present.

Returns:
the name that was given to the constructor of this exception.

aicas logoJamaica 6.4 release 1

aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2015 aicas GmbH. All Rights Reserved.