code: protected void onSourceErrorOccurred(boolean isTerminating, Exception exception) {
  
          for (TransformerSourceEventListener listener : transformerSourceEventListeners) {
  
              fireErrorEvent(listener, new TransformerSourceErrorEvent(this, exception, isTerminating));
          }
      }
docs: Called when an exception occurred. Fires the ErrorOccured event.
  @param isTerminating Indicates whether this TransformerSource can still provide further values (false) or will terminate completely (true).
  @param exception The exception that was thrown by the Transformation.