new VcsListener() {
@Override
public void directoryMappingChanged() {
LOG.info("VCS directory mappings changed; marking P4 configs as needing refresh.");
P4InvalidConfigException ex = new P4InvalidConfigException(
<BUG>P4Bundle.message("vcs.directory.mapping.changed"));
try {</BUG>
Events.configInvalid(project, config, ex);
<BUG>} catch (P4InvalidConfigException e) {
}</BUG>
}

new VcsListener() {
@Override
public void directoryMappingChanged() {
LOG.info("VCS directory mappings changed; marking P4 configs as needing refresh.");
P4InvalidConfigException ex = new P4InvalidConfigException(
P4Bundle.message("vcs.directory.mapping.changed"));
if (config != null) {
try {
Events.configInvalid(project, config, ex);
} catch (P4InvalidConfigException e) {
}
}
}
