public void fireResourceCompilationFailed(KnowledgeBuilder kbuilder, Resource resource, ResourceType type) {
final Iterator<KnowledgeAgentEventListener> iter = getEventListenersIterator();
if (iter.hasNext()) {
do{
final ResourceCompilationFailedEvent event = new ResourceCompilationFailedEvent(kbuilder, resource, type);
iter.next().resourceCompilationFailed(event);
} while (iter.hasNext());
}
}