Bug 560270 - Don't log VM disconnects in Interpreter.disableCollection()

This change adjusts Interpreter.disableCollection(IJavaValue) to log
exceptions similarly to Interpreter.releaseObjects() and
JDIDebugElement.logError(Exception). I.e. VMDisconnectedException
exceptions are ignored if the debug target is terminated or
disconnected.

This prevents reporting exceptions in the Error Log, for cases in which
no exceptions are expected.

Change-Id: I532d957ca31b0c1e9f8990f03d4381a2d6c94a6a
Signed-off-by: Simeon Andreev <simeon.danailov.andreev@gmail.com>
1 file changed