Class FixtureCalibrationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.arc_e_tect.gradle.trackerlens.fixture.FixtureCalibrationException
All Implemented Interfaces:
Serializable

public class FixtureCalibrationException extends RuntimeException
Thrown by TrackerLensFixtureGenerator when no candidate dataset it tried, verified against the real ProgressProjector, produced a forecast within tolerance of the requested FixtureSpec.forecastTargetDaysOut().

This is a deliberate failure, not an accident of the search loop: a forecastTargetDaysOut too aggressive for the given FixtureSpec.historyStartDaysAgo() (e.g. one landing inside ProgressProjector's own minimum-lookback floor, below which it refuses to forecast at all) can make every achievable velocity land wide of the target - silently returning the closest-but-still-wrong fixture would be worse than failing loudly here.

See Also:
  • Constructor Details

    • FixtureCalibrationException

      public FixtureCalibrationException(String message)
      Creates a new FixtureCalibrationException.
      Parameters:
      message - a clear description of what was requested and why it couldn't be met