org.spicefactory.cinnamon.reflect.util
Class ClassLoadingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.spicefactory.cinnamon.reflect.util.ClassLoadingException
All Implemented Interfaces:
Serializable

public class ClassLoadingException
extends RuntimeException

Exception thrown when loading a Class fails.

Author:
Jens Halm
See Also:
Serialized Form

Constructor Summary
ClassLoadingException(String classname, String message)
          Creates a new ClassLoadingException.
ClassLoadingException(String classname, String message, Throwable cause)
          Creates a new ClassLoadingException.
 
Method Summary
 String getClassname()
          Returns the name of the Class that could not be loaded.
 
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

ClassLoadingException

public ClassLoadingException(String classname,
                             String message,
                             Throwable cause)
Creates a new ClassLoadingException.

Parameters:
classname - the name of the Class that could not be loaded
message - the error message
cause - the root cause

ClassLoadingException

public ClassLoadingException(String classname,
                             String message)
Creates a new ClassLoadingException.

Parameters:
classname - the name of the Class that could not be loaded
message - the error message
Method Detail

getClassname

public String getClassname()
Returns the name of the Class that could not be loaded.

Returns:
the name of the Class that could not be loaded