}
public void taskFinished(AntEvent event) {
if ("javac".equals(event.getTaskName())) { // NOI18N
Throwable t = event.getException();
AntSession session = event.getSession();
if (t != null && !session.isExceptionConsumed(t)) {
// Some error was thrown from build-impl.xml#compile. Ignore it; generally
// it will have been a compilation error which we do not wish to show.
session.consumeException(t);
}
}
}