Class AmbiguousReductionException

All Implemented Interfaces:
Serializable

A ReductionException indicating that many contextual instances could not be reduced to one.
Author:
Laird Nelson
See Also:
  • Constructor Details

    • AmbiguousReductionException

      public AmbiguousReductionException(Object criteria, Collection<?> alternates, String message)
      Parameters:
      criteria - the criteria by which a reduction was supposed to be effected; may be null
      alternates - the contextual instances that could not be reduced; may be null
      message - a detail message describing the exception; may be null
  • Method Details

    • alternates

      public final Collection<?> alternates()
      Returns the contextual instances that could not be reduced.

      This method never returns null.

      Returns:
      a non-null, immutable Collection of contextual instances