if (!isInitialized)
throw new NotInitializedException("JVMAspectInterface.clearMethodExitWatch: jvmai not initialized");
if (m == null)
throw new NullPointerException("JVMAspectInterface.clearMethodExitWatch: null Method parameter");
if (m.getDeclaringClass().isInterface())
throw new WatchNotSetException("JVMAspectInterface.clearMethodExitWatch: cannot clear watches on interfaces");
// 1. obtain the tag to delete
CompoundAopTag compoundTag = (CompoundAopTag)methodExecutionMap.get(m);
if (compoundTag == null || compoundTag.exitTag == null) {
throw new WatchNotSetException("JVMAspectInterface.clearMethodExitWatch: " + m);
}
compoundTag.exitTag = null;
// 2. iterate over the 'return' locations and delete the watches