// first check assignment compatible
Method method = getUnderlyingMethod();
try {
ValueImpl.checkValue(((JDIValue) value).getUnderlyingValue(),
method.returnType(),
(VirtualMachineImpl) method.virtualMachine());
} catch (InvalidTypeException e) {
targetRequestFailed(JDIDebugModelMessages.JDIStackFrame_26, e);
} catch (ClassNotLoadedException e) {
targetRequestFailed(JDIDebugModelMessages.JDIThread_48, e);
}