blob: 0fa54b9ad507cd452056e07a8bc499cb3a96166d [file] [log] [blame]
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.netbeans.modules.debugger.jpda.jdi;
// DO NOT MODIFY THIS CODE, GENERATED AUTOMATICALLY
// Generated by org.netbeans.modules.debugger.jpda.jdi.Generate class located in 'gensrc' folder,
// perform the desired modifications there and re-generate by "ant generate".
/**
* Wrapper for ObjectReference JDI class.
* Use methods of this class instead of direct calls on JDI objects.
* These methods assure that exceptions thrown from JDI calls are handled appropriately.
*
* @author Martin Entlicher
*/
public final class ObjectReferenceWrapper {
private ObjectReferenceWrapper() {}
// DO NOT MODIFY THIS CODE, GENERATED AUTOMATICALLY
public static void disableCollection(com.sun.jdi.ObjectReference a) throws org.netbeans.modules.debugger.jpda.jdi.InternalExceptionWrapper, org.netbeans.modules.debugger.jpda.jdi.VMDisconnectedExceptionWrapper, org.netbeans.modules.debugger.jpda.jdi.ObjectCollectedExceptionWrapper, org.netbeans.modules.debugger.jpda.jdi.UnsupportedOperationExceptionWrapper {
if (org.netbeans.modules.debugger.jpda.JDIExceptionReporter.isLoggable()) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.logCallStart(
"com.sun.jdi.ObjectReference",
"disableCollection",
"JDI CALL: com.sun.jdi.ObjectReference({0}).disableCollection()",
new Object[] {a});
}
try {
a.disableCollection();
} catch (com.sun.jdi.InternalException ex) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.report(ex);
throw new org.netbeans.modules.debugger.jpda.jdi.InternalExceptionWrapper(ex);
} catch (com.sun.jdi.VMDisconnectedException ex) {
if (a instanceof com.sun.jdi.Mirror) {
com.sun.jdi.VirtualMachine vm = ((com.sun.jdi.Mirror) a).virtualMachine();
try {
vm.dispose();
} catch (com.sun.jdi.VMDisconnectedException vmdex) {}
}
throw new org.netbeans.modules.debugger.jpda.jdi.VMDisconnectedExceptionWrapper(ex);
} catch (com.sun.jdi.ObjectCollectedException ex) {
throw new org.netbeans.modules.debugger.jpda.jdi.ObjectCollectedExceptionWrapper(ex);
} catch (java.lang.UnsupportedOperationException ex) {
throw new org.netbeans.modules.debugger.jpda.jdi.UnsupportedOperationExceptionWrapper(ex);
} finally {
if (org.netbeans.modules.debugger.jpda.JDIExceptionReporter.isLoggable()) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.logCallEnd(
"com.sun.jdi.ObjectReference",
"disableCollection",
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.RET_VOID);
}
}
}
// DO NOT MODIFY THIS CODE, GENERATED AUTOMATICALLY
public static void enableCollection(com.sun.jdi.ObjectReference a) throws org.netbeans.modules.debugger.jpda.jdi.InternalExceptionWrapper, org.netbeans.modules.debugger.jpda.jdi.VMDisconnectedExceptionWrapper, org.netbeans.modules.debugger.jpda.jdi.ObjectCollectedExceptionWrapper, org.netbeans.modules.debugger.jpda.jdi.UnsupportedOperationExceptionWrapper {
if (org.netbeans.modules.debugger.jpda.JDIExceptionReporter.isLoggable()) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.logCallStart(
"com.sun.jdi.ObjectReference",
"enableCollection",
"JDI CALL: com.sun.jdi.ObjectReference({0}).enableCollection()",
new Object[] {a});
}
try {
a.enableCollection();
} catch (com.sun.jdi.InternalException ex) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.report(ex);
throw new org.netbeans.modules.debugger.jpda.jdi.InternalExceptionWrapper(ex);
} catch (com.sun.jdi.VMDisconnectedException ex) {
if (a instanceof com.sun.jdi.Mirror) {
com.sun.jdi.VirtualMachine vm = ((com.sun.jdi.Mirror) a).virtualMachine();
try {
vm.dispose();
} catch (com.sun.jdi.VMDisconnectedException vmdex) {}
}
throw new org.netbeans.modules.debugger.jpda.jdi.VMDisconnectedExceptionWrapper(ex);
} catch (com.sun.jdi.ObjectCollectedException ex) {
throw new org.netbeans.modules.debugger.jpda.jdi.ObjectCollectedExceptionWrapper(ex);
} catch (java.lang.UnsupportedOperationException ex) {
throw new org.netbeans.modules.debugger.jpda.jdi.UnsupportedOperationExceptionWrapper(ex);
} finally {
if (org.netbeans.modules.debugger.jpda.JDIExceptionReporter.isLoggable()) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.logCallEnd(
"com.sun.jdi.ObjectReference",
"enableCollection",
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.RET_VOID);
}
}
}
// DO NOT MODIFY THIS CODE, GENERATED AUTOMATICALLY
public static int entryCount0(com.sun.jdi.ObjectReference a) throws com.sun.jdi.IncompatibleThreadStateException {
if (org.netbeans.modules.debugger.jpda.JDIExceptionReporter.isLoggable()) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.logCallStart(
"com.sun.jdi.ObjectReference",
"entryCount",
"JDI CALL: com.sun.jdi.ObjectReference({0}).entryCount()",
new Object[] {a});
}
Object retValue = null;
try {
int ret;
ret = a.entryCount();
retValue = ret;
return ret;
} catch (com.sun.jdi.InternalException ex) {
retValue = ex;
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.report(ex);
return 0;
} catch (com.sun.jdi.VMDisconnectedException ex) {
retValue = ex;
if (a instanceof com.sun.jdi.Mirror) {
com.sun.jdi.VirtualMachine vm = ((com.sun.jdi.Mirror) a).virtualMachine();
try {
vm.dispose();
} catch (com.sun.jdi.VMDisconnectedException vmdex) {}
}
return 0;
} catch (com.sun.jdi.ObjectCollectedException ex) {
retValue = ex;
return 0;
} catch (com.sun.jdi.IncompatibleThreadStateException ex) {
retValue = ex;
throw ex;
} catch (Error err) {
retValue = err;
throw err;
} catch (RuntimeException rex) {
retValue = rex;
throw rex;
} finally {
if (org.netbeans.modules.debugger.jpda.JDIExceptionReporter.isLoggable()) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.logCallEnd(
"com.sun.jdi.ObjectReference",
"entryCount",
retValue);
}
}
}
// DO NOT MODIFY THIS CODE, GENERATED AUTOMATICALLY
public static int entryCount(com.sun.jdi.ObjectReference a) throws com.sun.jdi.IncompatibleThreadStateException, org.netbeans.modules.debugger.jpda.jdi.InternalExceptionWrapper, org.netbeans.modules.debugger.jpda.jdi.VMDisconnectedExceptionWrapper, org.netbeans.modules.debugger.jpda.jdi.ObjectCollectedExceptionWrapper {
if (org.netbeans.modules.debugger.jpda.JDIExceptionReporter.isLoggable()) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.logCallStart(
"com.sun.jdi.ObjectReference",
"entryCount",
"JDI CALL: com.sun.jdi.ObjectReference({0}).entryCount()",
new Object[] {a});
}
Object retValue = null;
try {
int ret;
ret = a.entryCount();
retValue = ret;
return ret;
} catch (com.sun.jdi.InternalException ex) {
retValue = ex;
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.report(ex);
throw new org.netbeans.modules.debugger.jpda.jdi.InternalExceptionWrapper(ex);
} catch (com.sun.jdi.VMDisconnectedException ex) {
retValue = ex;
if (a instanceof com.sun.jdi.Mirror) {
com.sun.jdi.VirtualMachine vm = ((com.sun.jdi.Mirror) a).virtualMachine();
try {
vm.dispose();
} catch (com.sun.jdi.VMDisconnectedException vmdex) {}
}
throw new org.netbeans.modules.debugger.jpda.jdi.VMDisconnectedExceptionWrapper(ex);
} catch (com.sun.jdi.ObjectCollectedException ex) {
retValue = ex;
throw new org.netbeans.modules.debugger.jpda.jdi.ObjectCollectedExceptionWrapper(ex);
} catch (com.sun.jdi.IncompatibleThreadStateException ex) {
retValue = ex;
throw ex;
} catch (Error err) {
retValue = err;
throw err;
} catch (RuntimeException rex) {
retValue = rex;
throw rex;
} finally {
if (org.netbeans.modules.debugger.jpda.JDIExceptionReporter.isLoggable()) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.logCallEnd(
"com.sun.jdi.ObjectReference",
"entryCount",
retValue);
}
}
}
// DO NOT MODIFY THIS CODE, GENERATED AUTOMATICALLY
public static boolean equals0(com.sun.jdi.ObjectReference a, java.lang.Object b) {
if (org.netbeans.modules.debugger.jpda.JDIExceptionReporter.isLoggable()) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.logCallStart(
"com.sun.jdi.ObjectReference",
"equals",
"JDI CALL: com.sun.jdi.ObjectReference({0}).equals({1})",
new Object[] {a, b});
}
Object retValue = null;
try {
boolean ret;
ret = a.equals(b);
retValue = ret;
return ret;
} catch (com.sun.jdi.InternalException ex) {
retValue = ex;
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.report(ex);
return false;
} catch (com.sun.jdi.VMDisconnectedException ex) {
retValue = ex;
if (a instanceof com.sun.jdi.Mirror) {
com.sun.jdi.VirtualMachine vm = ((com.sun.jdi.Mirror) a).virtualMachine();
try {
vm.dispose();
} catch (com.sun.jdi.VMDisconnectedException vmdex) {}
}
return false;
} catch (com.sun.jdi.ObjectCollectedException ex) {
retValue = ex;
return false;
} catch (Error err) {
retValue = err;
throw err;
} catch (RuntimeException rex) {
retValue = rex;
throw rex;
} finally {
if (org.netbeans.modules.debugger.jpda.JDIExceptionReporter.isLoggable()) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.logCallEnd(
"com.sun.jdi.ObjectReference",
"equals",
retValue);
}
}
}
// DO NOT MODIFY THIS CODE, GENERATED AUTOMATICALLY
public static boolean equals(com.sun.jdi.ObjectReference a, java.lang.Object b) throws org.netbeans.modules.debugger.jpda.jdi.InternalExceptionWrapper, org.netbeans.modules.debugger.jpda.jdi.VMDisconnectedExceptionWrapper, org.netbeans.modules.debugger.jpda.jdi.ObjectCollectedExceptionWrapper {
if (org.netbeans.modules.debugger.jpda.JDIExceptionReporter.isLoggable()) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.logCallStart(
"com.sun.jdi.ObjectReference",
"equals",
"JDI CALL: com.sun.jdi.ObjectReference({0}).equals({1})",
new Object[] {a, b});
}
Object retValue = null;
try {
boolean ret;
ret = a.equals(b);
retValue = ret;
return ret;
} catch (com.sun.jdi.InternalException ex) {
retValue = ex;
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.report(ex);
throw new org.netbeans.modules.debugger.jpda.jdi.InternalExceptionWrapper(ex);
} catch (com.sun.jdi.VMDisconnectedException ex) {
retValue = ex;
if (a instanceof com.sun.jdi.Mirror) {
com.sun.jdi.VirtualMachine vm = ((com.sun.jdi.Mirror) a).virtualMachine();
try {
vm.dispose();
} catch (com.sun.jdi.VMDisconnectedException vmdex) {}
}
throw new org.netbeans.modules.debugger.jpda.jdi.VMDisconnectedExceptionWrapper(ex);
} catch (com.sun.jdi.ObjectCollectedException ex) {
retValue = ex;
throw new org.netbeans.modules.debugger.jpda.jdi.ObjectCollectedExceptionWrapper(ex);
} catch (Error err) {
retValue = err;
throw err;
} catch (RuntimeException rex) {
retValue = rex;
throw rex;
} finally {
if (org.netbeans.modules.debugger.jpda.JDIExceptionReporter.isLoggable()) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.logCallEnd(
"com.sun.jdi.ObjectReference",
"equals",
retValue);
}
}
}
// DO NOT MODIFY THIS CODE, GENERATED AUTOMATICALLY
public static com.sun.jdi.Value getValue(com.sun.jdi.ObjectReference a, com.sun.jdi.Field b) throws org.netbeans.modules.debugger.jpda.jdi.InternalExceptionWrapper, org.netbeans.modules.debugger.jpda.jdi.VMDisconnectedExceptionWrapper, org.netbeans.modules.debugger.jpda.jdi.ObjectCollectedExceptionWrapper {
if (org.netbeans.modules.debugger.jpda.JDIExceptionReporter.isLoggable()) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.logCallStart(
"com.sun.jdi.ObjectReference",
"getValue",
"JDI CALL: com.sun.jdi.ObjectReference({0}).getValue({1})",
new Object[] {a, b});
}
Object retValue = null;
try {
com.sun.jdi.Value ret;
ret = a.getValue(b);
retValue = ret;
return ret;
} catch (com.sun.jdi.InternalException ex) {
retValue = ex;
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.report(ex);
throw new org.netbeans.modules.debugger.jpda.jdi.InternalExceptionWrapper(ex);
} catch (com.sun.jdi.VMDisconnectedException ex) {
retValue = ex;
if (a instanceof com.sun.jdi.Mirror) {
com.sun.jdi.VirtualMachine vm = ((com.sun.jdi.Mirror) a).virtualMachine();
try {
vm.dispose();
} catch (com.sun.jdi.VMDisconnectedException vmdex) {}
}
throw new org.netbeans.modules.debugger.jpda.jdi.VMDisconnectedExceptionWrapper(ex);
} catch (com.sun.jdi.ObjectCollectedException ex) {
retValue = ex;
throw new org.netbeans.modules.debugger.jpda.jdi.ObjectCollectedExceptionWrapper(ex);
} catch (Error err) {
retValue = err;
throw err;
} catch (RuntimeException rex) {
retValue = rex;
throw rex;
} finally {
if (org.netbeans.modules.debugger.jpda.JDIExceptionReporter.isLoggable()) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.logCallEnd(
"com.sun.jdi.ObjectReference",
"getValue",
retValue);
}
}
}
// DO NOT MODIFY THIS CODE, GENERATED AUTOMATICALLY
public static java.util.Map<com.sun.jdi.Field, com.sun.jdi.Value> getValues0(com.sun.jdi.ObjectReference a, java.util.List<? extends com.sun.jdi.Field> b) {
if (org.netbeans.modules.debugger.jpda.JDIExceptionReporter.isLoggable()) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.logCallStart(
"com.sun.jdi.ObjectReference",
"getValues",
"JDI CALL: com.sun.jdi.ObjectReference({0}).getValues({1})",
new Object[] {a, b});
}
Object retValue = null;
try {
java.util.Map<com.sun.jdi.Field, com.sun.jdi.Value> ret;
ret = a.getValues(b);
retValue = ret;
return ret;
} catch (com.sun.jdi.InternalException ex) {
retValue = ex;
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.report(ex);
return java.util.Collections.emptyMap();
} catch (com.sun.jdi.VMDisconnectedException ex) {
retValue = ex;
if (a instanceof com.sun.jdi.Mirror) {
com.sun.jdi.VirtualMachine vm = ((com.sun.jdi.Mirror) a).virtualMachine();
try {
vm.dispose();
} catch (com.sun.jdi.VMDisconnectedException vmdex) {}
}
return java.util.Collections.emptyMap();
} catch (com.sun.jdi.ObjectCollectedException ex) {
retValue = ex;
return java.util.Collections.emptyMap();
} catch (Error err) {
retValue = err;
throw err;
} catch (RuntimeException rex) {
retValue = rex;
throw rex;
} finally {
if (org.netbeans.modules.debugger.jpda.JDIExceptionReporter.isLoggable()) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.logCallEnd(
"com.sun.jdi.ObjectReference",
"getValues",
retValue);
}
}
}
// DO NOT MODIFY THIS CODE, GENERATED AUTOMATICALLY
public static java.util.Map<com.sun.jdi.Field, com.sun.jdi.Value> getValues(com.sun.jdi.ObjectReference a, java.util.List<? extends com.sun.jdi.Field> b) throws org.netbeans.modules.debugger.jpda.jdi.InternalExceptionWrapper, org.netbeans.modules.debugger.jpda.jdi.VMDisconnectedExceptionWrapper, org.netbeans.modules.debugger.jpda.jdi.ObjectCollectedExceptionWrapper {
if (org.netbeans.modules.debugger.jpda.JDIExceptionReporter.isLoggable()) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.logCallStart(
"com.sun.jdi.ObjectReference",
"getValues",
"JDI CALL: com.sun.jdi.ObjectReference({0}).getValues({1})",
new Object[] {a, b});
}
Object retValue = null;
try {
java.util.Map<com.sun.jdi.Field, com.sun.jdi.Value> ret;
ret = a.getValues(b);
retValue = ret;
return ret;
} catch (com.sun.jdi.InternalException ex) {
retValue = ex;
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.report(ex);
throw new org.netbeans.modules.debugger.jpda.jdi.InternalExceptionWrapper(ex);
} catch (com.sun.jdi.VMDisconnectedException ex) {
retValue = ex;
if (a instanceof com.sun.jdi.Mirror) {
com.sun.jdi.VirtualMachine vm = ((com.sun.jdi.Mirror) a).virtualMachine();
try {
vm.dispose();
} catch (com.sun.jdi.VMDisconnectedException vmdex) {}
}
throw new org.netbeans.modules.debugger.jpda.jdi.VMDisconnectedExceptionWrapper(ex);
} catch (com.sun.jdi.ObjectCollectedException ex) {
retValue = ex;
throw new org.netbeans.modules.debugger.jpda.jdi.ObjectCollectedExceptionWrapper(ex);
} catch (Error err) {
retValue = err;
throw err;
} catch (RuntimeException rex) {
retValue = rex;
throw rex;
} finally {
if (org.netbeans.modules.debugger.jpda.JDIExceptionReporter.isLoggable()) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.logCallEnd(
"com.sun.jdi.ObjectReference",
"getValues",
retValue);
}
}
}
// DO NOT MODIFY THIS CODE, GENERATED AUTOMATICALLY
public static int hashCode0(com.sun.jdi.ObjectReference a) {
if (org.netbeans.modules.debugger.jpda.JDIExceptionReporter.isLoggable()) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.logCallStart(
"com.sun.jdi.ObjectReference",
"hashCode",
"JDI CALL: com.sun.jdi.ObjectReference({0}).hashCode()",
new Object[] {a});
}
Object retValue = null;
try {
int ret;
ret = a.hashCode();
retValue = ret;
return ret;
} catch (com.sun.jdi.InternalException ex) {
retValue = ex;
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.report(ex);
return 0;
} catch (com.sun.jdi.VMDisconnectedException ex) {
retValue = ex;
if (a instanceof com.sun.jdi.Mirror) {
com.sun.jdi.VirtualMachine vm = ((com.sun.jdi.Mirror) a).virtualMachine();
try {
vm.dispose();
} catch (com.sun.jdi.VMDisconnectedException vmdex) {}
}
return 0;
} catch (com.sun.jdi.ObjectCollectedException ex) {
retValue = ex;
return 0;
} catch (Error err) {
retValue = err;
throw err;
} catch (RuntimeException rex) {
retValue = rex;
throw rex;
} finally {
if (org.netbeans.modules.debugger.jpda.JDIExceptionReporter.isLoggable()) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.logCallEnd(
"com.sun.jdi.ObjectReference",
"hashCode",
retValue);
}
}
}
// DO NOT MODIFY THIS CODE, GENERATED AUTOMATICALLY
public static int hashCode(com.sun.jdi.ObjectReference a) throws org.netbeans.modules.debugger.jpda.jdi.InternalExceptionWrapper, org.netbeans.modules.debugger.jpda.jdi.VMDisconnectedExceptionWrapper, org.netbeans.modules.debugger.jpda.jdi.ObjectCollectedExceptionWrapper {
if (org.netbeans.modules.debugger.jpda.JDIExceptionReporter.isLoggable()) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.logCallStart(
"com.sun.jdi.ObjectReference",
"hashCode",
"JDI CALL: com.sun.jdi.ObjectReference({0}).hashCode()",
new Object[] {a});
}
Object retValue = null;
try {
int ret;
ret = a.hashCode();
retValue = ret;
return ret;
} catch (com.sun.jdi.InternalException ex) {
retValue = ex;
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.report(ex);
throw new org.netbeans.modules.debugger.jpda.jdi.InternalExceptionWrapper(ex);
} catch (com.sun.jdi.VMDisconnectedException ex) {
retValue = ex;
if (a instanceof com.sun.jdi.Mirror) {
com.sun.jdi.VirtualMachine vm = ((com.sun.jdi.Mirror) a).virtualMachine();
try {
vm.dispose();
} catch (com.sun.jdi.VMDisconnectedException vmdex) {}
}
throw new org.netbeans.modules.debugger.jpda.jdi.VMDisconnectedExceptionWrapper(ex);
} catch (com.sun.jdi.ObjectCollectedException ex) {
retValue = ex;
throw new org.netbeans.modules.debugger.jpda.jdi.ObjectCollectedExceptionWrapper(ex);
} catch (Error err) {
retValue = err;
throw err;
} catch (RuntimeException rex) {
retValue = rex;
throw rex;
} finally {
if (org.netbeans.modules.debugger.jpda.JDIExceptionReporter.isLoggable()) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.logCallEnd(
"com.sun.jdi.ObjectReference",
"hashCode",
retValue);
}
}
}
// DO NOT MODIFY THIS CODE, GENERATED AUTOMATICALLY
public static com.sun.jdi.Value invokeMethod(com.sun.jdi.ObjectReference a, com.sun.jdi.ThreadReference b, com.sun.jdi.Method c, java.util.List<? extends com.sun.jdi.Value> d, int e) throws com.sun.jdi.InvalidTypeException, com.sun.jdi.ClassNotLoadedException, com.sun.jdi.IncompatibleThreadStateException, com.sun.jdi.InvocationException, org.netbeans.modules.debugger.jpda.jdi.InternalExceptionWrapper, org.netbeans.modules.debugger.jpda.jdi.VMDisconnectedExceptionWrapper, org.netbeans.modules.debugger.jpda.jdi.ObjectCollectedExceptionWrapper {
if (org.netbeans.modules.debugger.jpda.JDIExceptionReporter.isLoggable()) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.logCallStart(
"com.sun.jdi.ObjectReference",
"invokeMethod",
"JDI CALL: com.sun.jdi.ObjectReference({0}).invokeMethod({1}, {2}, {3}, {4})",
new Object[] {a, b, c, d, e});
}
Object retValue = null;
try {
try {
com.sun.jdi.Value ret;
ret = a.invokeMethod(b, c, d, e);
retValue = ret;
return ret;
} catch (com.sun.jdi.InternalException iex) {
if (iex.errorCode() == 502) { // ALREADY_INVOKING
iex = (com.sun.jdi.InternalException) org.openide.util.Exceptions.attachLocalizedMessage(iex, org.openide.util.NbBundle.getMessage(org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.class, "JDWPError502"));
org.openide.util.Exceptions.printStackTrace(iex);
return null;
} else {
throw iex; // re-throw the original
}
}
} catch (com.sun.jdi.InternalException ex) {
retValue = ex;
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.report(ex);
throw new org.netbeans.modules.debugger.jpda.jdi.InternalExceptionWrapper(ex);
} catch (com.sun.jdi.VMDisconnectedException ex) {
retValue = ex;
if (a instanceof com.sun.jdi.Mirror) {
com.sun.jdi.VirtualMachine vm = ((com.sun.jdi.Mirror) a).virtualMachine();
try {
vm.dispose();
} catch (com.sun.jdi.VMDisconnectedException vmdex) {}
}
throw new org.netbeans.modules.debugger.jpda.jdi.VMDisconnectedExceptionWrapper(ex);
} catch (com.sun.jdi.ObjectCollectedException ex) {
retValue = ex;
throw new org.netbeans.modules.debugger.jpda.jdi.ObjectCollectedExceptionWrapper(ex);
} catch (com.sun.jdi.InvalidTypeException ex) {
retValue = ex;
throw ex;
} catch (com.sun.jdi.ClassNotLoadedException ex) {
retValue = ex;
throw ex;
} catch (com.sun.jdi.IncompatibleThreadStateException ex) {
retValue = ex;
throw ex;
} catch (com.sun.jdi.InvocationException ex) {
retValue = ex;
throw ex;
} catch (Error err) {
retValue = err;
throw err;
} catch (RuntimeException rex) {
retValue = rex;
throw rex;
} finally {
if (org.netbeans.modules.debugger.jpda.JDIExceptionReporter.isLoggable()) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.logCallEnd(
"com.sun.jdi.ObjectReference",
"invokeMethod",
retValue);
}
}
}
// DO NOT MODIFY THIS CODE, GENERATED AUTOMATICALLY
public static boolean isCollected0(com.sun.jdi.ObjectReference a) {
if (org.netbeans.modules.debugger.jpda.JDIExceptionReporter.isLoggable()) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.logCallStart(
"com.sun.jdi.ObjectReference",
"isCollected",
"JDI CALL: com.sun.jdi.ObjectReference({0}).isCollected()",
new Object[] {a});
}
Object retValue = null;
try {
boolean ret;
ret = a.isCollected();
retValue = ret;
return ret;
} catch (com.sun.jdi.InternalException ex) {
retValue = ex;
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.report(ex);
return false;
} catch (com.sun.jdi.VMDisconnectedException ex) {
retValue = ex;
if (a instanceof com.sun.jdi.Mirror) {
com.sun.jdi.VirtualMachine vm = ((com.sun.jdi.Mirror) a).virtualMachine();
try {
vm.dispose();
} catch (com.sun.jdi.VMDisconnectedException vmdex) {}
}
return false;
} catch (com.sun.jdi.ObjectCollectedException ex) {
retValue = ex;
return false;
} catch (Error err) {
retValue = err;
throw err;
} catch (RuntimeException rex) {
retValue = rex;
throw rex;
} finally {
if (org.netbeans.modules.debugger.jpda.JDIExceptionReporter.isLoggable()) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.logCallEnd(
"com.sun.jdi.ObjectReference",
"isCollected",
retValue);
}
}
}
// DO NOT MODIFY THIS CODE, GENERATED AUTOMATICALLY
public static boolean isCollected(com.sun.jdi.ObjectReference a) throws org.netbeans.modules.debugger.jpda.jdi.InternalExceptionWrapper, org.netbeans.modules.debugger.jpda.jdi.VMDisconnectedExceptionWrapper, org.netbeans.modules.debugger.jpda.jdi.ObjectCollectedExceptionWrapper {
if (org.netbeans.modules.debugger.jpda.JDIExceptionReporter.isLoggable()) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.logCallStart(
"com.sun.jdi.ObjectReference",
"isCollected",
"JDI CALL: com.sun.jdi.ObjectReference({0}).isCollected()",
new Object[] {a});
}
Object retValue = null;
try {
boolean ret;
ret = a.isCollected();
retValue = ret;
return ret;
} catch (com.sun.jdi.InternalException ex) {
retValue = ex;
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.report(ex);
throw new org.netbeans.modules.debugger.jpda.jdi.InternalExceptionWrapper(ex);
} catch (com.sun.jdi.VMDisconnectedException ex) {
retValue = ex;
if (a instanceof com.sun.jdi.Mirror) {
com.sun.jdi.VirtualMachine vm = ((com.sun.jdi.Mirror) a).virtualMachine();
try {
vm.dispose();
} catch (com.sun.jdi.VMDisconnectedException vmdex) {}
}
throw new org.netbeans.modules.debugger.jpda.jdi.VMDisconnectedExceptionWrapper(ex);
} catch (com.sun.jdi.ObjectCollectedException ex) {
retValue = ex;
throw new org.netbeans.modules.debugger.jpda.jdi.ObjectCollectedExceptionWrapper(ex);
} catch (Error err) {
retValue = err;
throw err;
} catch (RuntimeException rex) {
retValue = rex;
throw rex;
} finally {
if (org.netbeans.modules.debugger.jpda.JDIExceptionReporter.isLoggable()) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.logCallEnd(
"com.sun.jdi.ObjectReference",
"isCollected",
retValue);
}
}
}
// DO NOT MODIFY THIS CODE, GENERATED AUTOMATICALLY
public static com.sun.jdi.ThreadReference owningThread(com.sun.jdi.ObjectReference a) throws com.sun.jdi.IncompatibleThreadStateException, org.netbeans.modules.debugger.jpda.jdi.InternalExceptionWrapper, org.netbeans.modules.debugger.jpda.jdi.VMDisconnectedExceptionWrapper, org.netbeans.modules.debugger.jpda.jdi.ObjectCollectedExceptionWrapper {
if (org.netbeans.modules.debugger.jpda.JDIExceptionReporter.isLoggable()) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.logCallStart(
"com.sun.jdi.ObjectReference",
"owningThread",
"JDI CALL: com.sun.jdi.ObjectReference({0}).owningThread()",
new Object[] {a});
}
Object retValue = null;
try {
com.sun.jdi.ThreadReference ret;
ret = a.owningThread();
retValue = ret;
return ret;
} catch (com.sun.jdi.InternalException ex) {
retValue = ex;
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.report(ex);
throw new org.netbeans.modules.debugger.jpda.jdi.InternalExceptionWrapper(ex);
} catch (com.sun.jdi.VMDisconnectedException ex) {
retValue = ex;
if (a instanceof com.sun.jdi.Mirror) {
com.sun.jdi.VirtualMachine vm = ((com.sun.jdi.Mirror) a).virtualMachine();
try {
vm.dispose();
} catch (com.sun.jdi.VMDisconnectedException vmdex) {}
}
throw new org.netbeans.modules.debugger.jpda.jdi.VMDisconnectedExceptionWrapper(ex);
} catch (com.sun.jdi.ObjectCollectedException ex) {
retValue = ex;
throw new org.netbeans.modules.debugger.jpda.jdi.ObjectCollectedExceptionWrapper(ex);
} catch (com.sun.jdi.IncompatibleThreadStateException ex) {
retValue = ex;
throw ex;
} catch (Error err) {
retValue = err;
throw err;
} catch (RuntimeException rex) {
retValue = rex;
throw rex;
} finally {
if (org.netbeans.modules.debugger.jpda.JDIExceptionReporter.isLoggable()) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.logCallEnd(
"com.sun.jdi.ObjectReference",
"owningThread",
retValue);
}
}
}
// DO NOT MODIFY THIS CODE, GENERATED AUTOMATICALLY
public static com.sun.jdi.ReferenceType referenceType(com.sun.jdi.ObjectReference a) throws org.netbeans.modules.debugger.jpda.jdi.InternalExceptionWrapper, org.netbeans.modules.debugger.jpda.jdi.VMDisconnectedExceptionWrapper, org.netbeans.modules.debugger.jpda.jdi.ObjectCollectedExceptionWrapper {
if (org.netbeans.modules.debugger.jpda.JDIExceptionReporter.isLoggable()) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.logCallStart(
"com.sun.jdi.ObjectReference",
"referenceType",
"JDI CALL: com.sun.jdi.ObjectReference({0}).referenceType()",
new Object[] {a});
}
Object retValue = null;
try {
com.sun.jdi.ReferenceType ret;
ret = a.referenceType();
retValue = ret;
return ret;
} catch (com.sun.jdi.InternalException ex) {
retValue = ex;
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.report(ex);
throw new org.netbeans.modules.debugger.jpda.jdi.InternalExceptionWrapper(ex);
} catch (com.sun.jdi.VMDisconnectedException ex) {
retValue = ex;
if (a instanceof com.sun.jdi.Mirror) {
com.sun.jdi.VirtualMachine vm = ((com.sun.jdi.Mirror) a).virtualMachine();
try {
vm.dispose();
} catch (com.sun.jdi.VMDisconnectedException vmdex) {}
}
throw new org.netbeans.modules.debugger.jpda.jdi.VMDisconnectedExceptionWrapper(ex);
} catch (com.sun.jdi.ObjectCollectedException ex) {
retValue = ex;
throw new org.netbeans.modules.debugger.jpda.jdi.ObjectCollectedExceptionWrapper(ex);
} catch (Error err) {
retValue = err;
throw err;
} catch (RuntimeException rex) {
retValue = rex;
throw rex;
} finally {
if (org.netbeans.modules.debugger.jpda.JDIExceptionReporter.isLoggable()) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.logCallEnd(
"com.sun.jdi.ObjectReference",
"referenceType",
retValue);
}
}
}
// DO NOT MODIFY THIS CODE, GENERATED AUTOMATICALLY
public static java.util.List<com.sun.jdi.ObjectReference> referringObjects0(com.sun.jdi.ObjectReference a, long b) {
if (org.netbeans.modules.debugger.jpda.JDIExceptionReporter.isLoggable()) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.logCallStart(
"com.sun.jdi.ObjectReference",
"referringObjects",
"JDI CALL: com.sun.jdi.ObjectReference({0}).referringObjects({1})",
new Object[] {a, b});
}
Object retValue = null;
try {
java.util.List<com.sun.jdi.ObjectReference> ret;
ret = a.referringObjects(b);
retValue = ret;
return ret;
} catch (com.sun.jdi.InternalException ex) {
retValue = ex;
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.report(ex);
return java.util.Collections.emptyList();
} catch (com.sun.jdi.VMDisconnectedException ex) {
retValue = ex;
if (a instanceof com.sun.jdi.Mirror) {
com.sun.jdi.VirtualMachine vm = ((com.sun.jdi.Mirror) a).virtualMachine();
try {
vm.dispose();
} catch (com.sun.jdi.VMDisconnectedException vmdex) {}
}
return java.util.Collections.emptyList();
} catch (com.sun.jdi.ObjectCollectedException ex) {
retValue = ex;
return java.util.Collections.emptyList();
} catch (Error err) {
retValue = err;
throw err;
} catch (RuntimeException rex) {
retValue = rex;
throw rex;
} finally {
if (org.netbeans.modules.debugger.jpda.JDIExceptionReporter.isLoggable()) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.logCallEnd(
"com.sun.jdi.ObjectReference",
"referringObjects",
retValue);
}
}
}
// DO NOT MODIFY THIS CODE, GENERATED AUTOMATICALLY
public static java.util.List<com.sun.jdi.ObjectReference> referringObjects(com.sun.jdi.ObjectReference a, long b) throws org.netbeans.modules.debugger.jpda.jdi.InternalExceptionWrapper, org.netbeans.modules.debugger.jpda.jdi.VMDisconnectedExceptionWrapper, org.netbeans.modules.debugger.jpda.jdi.ObjectCollectedExceptionWrapper {
if (org.netbeans.modules.debugger.jpda.JDIExceptionReporter.isLoggable()) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.logCallStart(
"com.sun.jdi.ObjectReference",
"referringObjects",
"JDI CALL: com.sun.jdi.ObjectReference({0}).referringObjects({1})",
new Object[] {a, b});
}
Object retValue = null;
try {
java.util.List<com.sun.jdi.ObjectReference> ret;
ret = a.referringObjects(b);
retValue = ret;
return ret;
} catch (com.sun.jdi.InternalException ex) {
retValue = ex;
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.report(ex);
throw new org.netbeans.modules.debugger.jpda.jdi.InternalExceptionWrapper(ex);
} catch (com.sun.jdi.VMDisconnectedException ex) {
retValue = ex;
if (a instanceof com.sun.jdi.Mirror) {
com.sun.jdi.VirtualMachine vm = ((com.sun.jdi.Mirror) a).virtualMachine();
try {
vm.dispose();
} catch (com.sun.jdi.VMDisconnectedException vmdex) {}
}
throw new org.netbeans.modules.debugger.jpda.jdi.VMDisconnectedExceptionWrapper(ex);
} catch (com.sun.jdi.ObjectCollectedException ex) {
retValue = ex;
throw new org.netbeans.modules.debugger.jpda.jdi.ObjectCollectedExceptionWrapper(ex);
} catch (Error err) {
retValue = err;
throw err;
} catch (RuntimeException rex) {
retValue = rex;
throw rex;
} finally {
if (org.netbeans.modules.debugger.jpda.JDIExceptionReporter.isLoggable()) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.logCallEnd(
"com.sun.jdi.ObjectReference",
"referringObjects",
retValue);
}
}
}
// DO NOT MODIFY THIS CODE, GENERATED AUTOMATICALLY
public static void setValue(com.sun.jdi.ObjectReference a, com.sun.jdi.Field b, com.sun.jdi.Value c) throws com.sun.jdi.InvalidTypeException, com.sun.jdi.ClassNotLoadedException, org.netbeans.modules.debugger.jpda.jdi.InternalExceptionWrapper, org.netbeans.modules.debugger.jpda.jdi.VMDisconnectedExceptionWrapper, org.netbeans.modules.debugger.jpda.jdi.ObjectCollectedExceptionWrapper, org.netbeans.modules.debugger.jpda.jdi.IllegalArgumentExceptionWrapper {
if (org.netbeans.modules.debugger.jpda.JDIExceptionReporter.isLoggable()) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.logCallStart(
"com.sun.jdi.ObjectReference",
"setValue",
"JDI CALL: com.sun.jdi.ObjectReference({0}).setValue({1}, {2})",
new Object[] {a, b, c});
}
try {
a.setValue(b, c);
} catch (com.sun.jdi.InternalException ex) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.report(ex);
throw new org.netbeans.modules.debugger.jpda.jdi.InternalExceptionWrapper(ex);
} catch (com.sun.jdi.VMDisconnectedException ex) {
if (a instanceof com.sun.jdi.Mirror) {
com.sun.jdi.VirtualMachine vm = ((com.sun.jdi.Mirror) a).virtualMachine();
try {
vm.dispose();
} catch (com.sun.jdi.VMDisconnectedException vmdex) {}
}
throw new org.netbeans.modules.debugger.jpda.jdi.VMDisconnectedExceptionWrapper(ex);
} catch (com.sun.jdi.ObjectCollectedException ex) {
throw new org.netbeans.modules.debugger.jpda.jdi.ObjectCollectedExceptionWrapper(ex);
} catch (java.lang.IllegalArgumentException ex) {
throw new org.netbeans.modules.debugger.jpda.jdi.IllegalArgumentExceptionWrapper(ex);
} finally {
if (org.netbeans.modules.debugger.jpda.JDIExceptionReporter.isLoggable()) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.logCallEnd(
"com.sun.jdi.ObjectReference",
"setValue",
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.RET_VOID);
}
}
}
// DO NOT MODIFY THIS CODE, GENERATED AUTOMATICALLY
public static long uniqueID(com.sun.jdi.ObjectReference a) throws org.netbeans.modules.debugger.jpda.jdi.InternalExceptionWrapper, org.netbeans.modules.debugger.jpda.jdi.VMDisconnectedExceptionWrapper, org.netbeans.modules.debugger.jpda.jdi.ObjectCollectedExceptionWrapper {
if (org.netbeans.modules.debugger.jpda.JDIExceptionReporter.isLoggable()) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.logCallStart(
"com.sun.jdi.ObjectReference",
"uniqueID",
"JDI CALL: com.sun.jdi.ObjectReference({0}).uniqueID()",
new Object[] {a});
}
Object retValue = null;
try {
long ret;
ret = a.uniqueID();
retValue = ret;
return ret;
} catch (com.sun.jdi.InternalException ex) {
retValue = ex;
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.report(ex);
throw new org.netbeans.modules.debugger.jpda.jdi.InternalExceptionWrapper(ex);
} catch (com.sun.jdi.VMDisconnectedException ex) {
retValue = ex;
if (a instanceof com.sun.jdi.Mirror) {
com.sun.jdi.VirtualMachine vm = ((com.sun.jdi.Mirror) a).virtualMachine();
try {
vm.dispose();
} catch (com.sun.jdi.VMDisconnectedException vmdex) {}
}
throw new org.netbeans.modules.debugger.jpda.jdi.VMDisconnectedExceptionWrapper(ex);
} catch (com.sun.jdi.ObjectCollectedException ex) {
retValue = ex;
throw new org.netbeans.modules.debugger.jpda.jdi.ObjectCollectedExceptionWrapper(ex);
} catch (Error err) {
retValue = err;
throw err;
} catch (RuntimeException rex) {
retValue = rex;
throw rex;
} finally {
if (org.netbeans.modules.debugger.jpda.JDIExceptionReporter.isLoggable()) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.logCallEnd(
"com.sun.jdi.ObjectReference",
"uniqueID",
retValue);
}
}
}
// DO NOT MODIFY THIS CODE, GENERATED AUTOMATICALLY
public static java.util.List<com.sun.jdi.ThreadReference> waitingThreads0(com.sun.jdi.ObjectReference a) throws com.sun.jdi.IncompatibleThreadStateException {
if (org.netbeans.modules.debugger.jpda.JDIExceptionReporter.isLoggable()) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.logCallStart(
"com.sun.jdi.ObjectReference",
"waitingThreads",
"JDI CALL: com.sun.jdi.ObjectReference({0}).waitingThreads()",
new Object[] {a});
}
Object retValue = null;
try {
java.util.List<com.sun.jdi.ThreadReference> ret;
ret = a.waitingThreads();
retValue = ret;
return ret;
} catch (com.sun.jdi.InternalException ex) {
retValue = ex;
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.report(ex);
return java.util.Collections.emptyList();
} catch (com.sun.jdi.VMDisconnectedException ex) {
retValue = ex;
if (a instanceof com.sun.jdi.Mirror) {
com.sun.jdi.VirtualMachine vm = ((com.sun.jdi.Mirror) a).virtualMachine();
try {
vm.dispose();
} catch (com.sun.jdi.VMDisconnectedException vmdex) {}
}
return java.util.Collections.emptyList();
} catch (com.sun.jdi.ObjectCollectedException ex) {
retValue = ex;
return java.util.Collections.emptyList();
} catch (com.sun.jdi.IncompatibleThreadStateException ex) {
retValue = ex;
throw ex;
} catch (Error err) {
retValue = err;
throw err;
} catch (RuntimeException rex) {
retValue = rex;
throw rex;
} finally {
if (org.netbeans.modules.debugger.jpda.JDIExceptionReporter.isLoggable()) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.logCallEnd(
"com.sun.jdi.ObjectReference",
"waitingThreads",
retValue);
}
}
}
// DO NOT MODIFY THIS CODE, GENERATED AUTOMATICALLY
public static java.util.List<com.sun.jdi.ThreadReference> waitingThreads(com.sun.jdi.ObjectReference a) throws com.sun.jdi.IncompatibleThreadStateException, org.netbeans.modules.debugger.jpda.jdi.InternalExceptionWrapper, org.netbeans.modules.debugger.jpda.jdi.VMDisconnectedExceptionWrapper, org.netbeans.modules.debugger.jpda.jdi.ObjectCollectedExceptionWrapper {
if (org.netbeans.modules.debugger.jpda.JDIExceptionReporter.isLoggable()) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.logCallStart(
"com.sun.jdi.ObjectReference",
"waitingThreads",
"JDI CALL: com.sun.jdi.ObjectReference({0}).waitingThreads()",
new Object[] {a});
}
Object retValue = null;
try {
java.util.List<com.sun.jdi.ThreadReference> ret;
ret = a.waitingThreads();
retValue = ret;
return ret;
} catch (com.sun.jdi.InternalException ex) {
retValue = ex;
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.report(ex);
throw new org.netbeans.modules.debugger.jpda.jdi.InternalExceptionWrapper(ex);
} catch (com.sun.jdi.VMDisconnectedException ex) {
retValue = ex;
if (a instanceof com.sun.jdi.Mirror) {
com.sun.jdi.VirtualMachine vm = ((com.sun.jdi.Mirror) a).virtualMachine();
try {
vm.dispose();
} catch (com.sun.jdi.VMDisconnectedException vmdex) {}
}
throw new org.netbeans.modules.debugger.jpda.jdi.VMDisconnectedExceptionWrapper(ex);
} catch (com.sun.jdi.ObjectCollectedException ex) {
retValue = ex;
throw new org.netbeans.modules.debugger.jpda.jdi.ObjectCollectedExceptionWrapper(ex);
} catch (com.sun.jdi.IncompatibleThreadStateException ex) {
retValue = ex;
throw ex;
} catch (Error err) {
retValue = err;
throw err;
} catch (RuntimeException rex) {
retValue = rex;
throw rex;
} finally {
if (org.netbeans.modules.debugger.jpda.JDIExceptionReporter.isLoggable()) {
org.netbeans.modules.debugger.jpda.JDIExceptionReporter.logCallEnd(
"com.sun.jdi.ObjectReference",
"waitingThreads",
retValue);
}
}
}
}