code: protected void notifyArchiveRejected(ScriptArchive scriptArchive, ArchiveRejectedReason reason, @Nullable Throwable cause) {
          for (ScriptModuleListener listener : listeners) {
              listener.archiveRejected(scriptArchive, reason, cause);
          }
      }
docs: Notify listeners that a script archive was rejected by this loader
  @param scriptArchive archive that was rejected
  @param reason reason it was rejected
  @param cause underlying exception which triggered the rejection