package arez.processor;

import java.util.Objects;
import javax.annotation.Nonnull;
import javax.lang.model.element.Element;

final class ArezProcessorException
  extends RuntimeException
{
  @Nonnull
  private final Element _element;

  /**
   * Private constructor to restrict the types that can be passed into exception. If any other types
   * are passed into this constructor then the error handling in {@link ArezProcessor} needs to be updated.
   */
  ArezProcessorException( @Nonnull final String message, @Nonnull final Element element )
  {
    super( message );
    _element = Objects.requireNonNull( element );
  }

  @Nonnull
  Element getElement()
  {
    return _element;
  }
}

@@ -233,229 +233,8 @@
 t;%0A%0A
-  /**%0A   * Private constructor to restrict the types that can be passed into exception. If any other types%0A   * are passed into this constructor then the error handling in %7B@link ArezProcessor%7D needs to be updated.%0A   */%0A
   Ar

Remove historic, incorrect comment