instance = ctor.newInstance(new Object[] {handler});
handler.setProxy(instance);
}
return instance;
} catch (InstantiationException ex) {
throw new ClusterJException(
local.message("ERR_Create_Instance", cls.getName()), ex);
} catch (IllegalAccessException ex) {
throw new ClusterJException(
local.message("ERR_Create_Instance", cls.getName()), ex);
} catch (IllegalArgumentException ex) {
throw new ClusterJException(
local.message("ERR_Create_Instance", cls.getName()), ex);
} catch (InvocationTargetException ex) {
throw new ClusterJException(
local.message("ERR_Create_Instance", cls.getName()), ex);
} catch (SecurityException ex) {
throw new ClusterJException(
local.message("ERR_Create_Instance", cls.getName()), ex);
}
}