Interface InstanceGetter

    • Method Detail

      • getNewInstance

        java.lang.Object getNewInstance()
                                 throws java.lang.InstantiationException,
                                        java.lang.IllegalAccessException,
                                        java.lang.reflect.InvocationTargetException,
                                        java.lang.NoSuchMethodException
        Create an instance of a class.
        Throws:
        java.lang.InstantiationException - Zero arg constructor can not be executed
        java.lang.IllegalAccessException - Class or zero arg constructor is not public.
        java.lang.reflect.InvocationTargetException - Exception throw in zero-arg constructor.
        java.lang.NoSuchMethodException