org.spicefactory.lib.reflect.util
Class ClassLoadingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.spicefactory.lib.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
|
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 |
ClassLoadingException
public ClassLoadingException(String classname,
String message,
Throwable cause)
- Creates a new ClassLoadingException.
- Parameters:
classname - the name of the Class that could not be loadedmessage - the error messagecause - 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 loadedmessage - the error message
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