public abstract class ConstructorAccessor extends Object
| Constructor and Description |
|---|
ConstructorAccessor() |
public abstract Object newInstance(Object[] args) throws InstantiationException, IllegalArgumentException, InvocationTargetException, IllegalAccessException
args - the argumentsIllegalAccessException - if this Constructor object is enforcing Java language access control and the underlying constructor is
inaccessible.IllegalArgumentException - if the number of actual and formal parameters differ; if an unwrapping conversion for primitive arguments fails; or
if, after possible unwrapping, a parameter value cannot be converted to the corresponding formal parameter type by a
method invocation conversion; if this constructor pertains to an enum type.InstantiationException - if the class that declares the underlying constructor represents an abstract class.InvocationTargetException - if the underlying constructor throws an exception.ExceptionInInitializerError - if the initialization provoked by this method fails.Constructor.newInstance(Object...)Copyright © 2012-2013 Batoo. All Rights Reserved.