public Object newInstance() throws FunctionExecutionException { checkMethod(); try { return invocationMethod.getDeclaringClass().newInstance(); } catch (InstantiationException e) { throw new MetadataException(QueryPlugin.Event.TEIID30602, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID30602, method.getName(), method.getInvocationClass())); } catch (IllegalAccessException e) { throw new MetadataException(QueryPlugin.Event.TEIID30602, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID30602, method.getName(), method.getInvocationClass())); } }
public Object newInstance() throws FunctionExecutionException { checkMethod(); try { return invocationMethod.getDeclaringClass().newInstance(); } catch (InstantiationException e) { throw new MetadataException(QueryPlugin.Event.TEIID30602, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID30602, method.getName(), method.getInvocationClass())); } catch (IllegalAccessException e) { throw new MetadataException(QueryPlugin.Event.TEIID30602, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID30602, method.getName(), method.getInvocationClass())); } }
public Object newInstance() throws FunctionExecutionException { checkMethod(); try { return invocationMethod.getDeclaringClass().newInstance(); } catch (InstantiationException e) { throw new MetadataException(QueryPlugin.Event.TEIID30602, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID30602, method.getName(), method.getInvocationClass())); } catch (IllegalAccessException e) { throw new MetadataException(QueryPlugin.Event.TEIID30602, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID30602, method.getName(), method.getInvocationClass())); } }