Class MappingAbortedException

All Implemented Interfaces:

public class MappingAbortedException extends Exception
An exception thrown by Mapper.prepareBuild() when detecting that failures were collected and deciding to abort early to avoid a snowball effect creating too many failures, which would make the failure report unclear.
See Also:
  • Constructor Details

    • MappingAbortedException

      public MappingAbortedException()
  • Method Details

    • collectSilentlyAndCheck

      public void collectSilentlyAndCheck(ContextualFailureCollector failureCollector)
      Collects the cause/suppressed of this exception, if any, in the failure collector, and throws an exception if there is nothing to explain the abortion (neither in the failure collector or in this exceptions' cause/suppressed).
      failureCollector - A failure collector for the mapping that was just aborted.