return METHOD_NOT_PAUSABLE; // constructors are not pausable.
}
className = className.replace('/', '.');
try {
ClassMirror cl = mirrors.classForName(className);
MethodMirror m = findMethod(cl, methodName, desc);
if (m != null) {
for (ClassMirror c: m.getExceptionTypes()) {
if (NOT_PAUSABLE.isAssignableFrom(c)) {
return METHOD_NOT_PAUSABLE;
}
if (PAUSABLE.isAssignableFrom(c)) {
return PAUSABLE_METHOD_FOUND;