net.sf.josceleton.commons.reflect
Class DynamicInstantiationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.sf.josceleton.commons.exception.JosceletonException
net.sf.josceleton.commons.reflect.DynamicInstantiationException
- All Implemented Interfaces:
- Serializable
public class DynamicInstantiationException
- extends JosceletonException
- Since:
- 0.1
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
DynamicInstantiationException
protected DynamicInstantiationException(String message,
ClassAdapter<?> clazz,
Object[] arguments,
Throwable cause)
newForInstantiation
public static DynamicInstantiationException newForInstantiation(ClassAdapter<?> clazz,
Object[] arguments,
Throwable cause)
- Parameters:
clazz
- tried, but failed, to instantiate.- Since:
- 0.1
newForNotFoundConstructor
public static DynamicInstantiationException newForNotFoundConstructor(ClassAdapter<?> clazz,
Object[] arguments)
- Parameters:
clazz
- which did not have a proper constructor for given arguments.- Since:
- 0.1
getClazz
public final ClassAdapter<?> getClazz()
- Since:
- 0.1
getArguments
public final Object[] getArguments()
- Since:
- 0.1
Copyright © 2011 Josceleton. All Rights Reserved.