// (such as a null string), the operation raises InvalidValue.
Any tempAny = null;
try {
tempAny = DynAnyUtil.copy(value, orb);
} catch (Exception e) {
throw new InvalidValue();
}
if ( ! DynAnyUtil.isInitialized(tempAny)) {
throw new InvalidValue();
}
any = tempAny;
}