Top Methods
org.apache.derby.iapi.services.loader

public Interface InstanceGetter

Known Direct Implementers
org.apache.derby.iapi.services.io.FormatableInstanceGetter, org.apache.derby.iapi.services.loader.ClassInfo
Imports
java.lang.reflect.InvocationTargetException

Method Summary

Modifier and TypeMethod and Description
public Object

Returns:

a new instance of the class
getNewInstance
()

Create an instance of a class.

Method Detail

getNewInstanceback to summary
public Object getNewInstance() throws InstantiationException, IllegalAccessException, InvocationTargetException, NoSuchMethodException

Create an instance of a class.

Returns:Object

a new instance of the class

Exceptions
InstantiationException:
Zero arg constructor can not be executed
IllegalAccessException:
Class or zero arg constructor is not public.
InvocationTargetException:
Exception throw in zero-arg constructor.
NoSuchMethodException:
Missing method exception