public interface InstanceGetter
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getNewInstance()
Create an instance of a class.
|
java.lang.Object getNewInstance() throws java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.NoSuchMethodException
java.lang.InstantiationException
- Zero arg constructor can not be executedjava.lang.IllegalAccessException
- Class or zero arg constructor is not public.java.lang.reflect.InvocationTargetException
- Exception throw in zero-arg constructor.java.lang.NoSuchMethodException
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.