Goal.MismatchedGoalException

  • Goal.MismatchedGoalException is an exception thrown when a goal doesn't match the requested objective type.

  • This exception is a subclass of IllegalStateException.

  • It is thrown by methods such as Goal.getMetricObjective(), Goal.getDurationObjective(), and Goal.getFrequencyObjective().

  • The exception has a public constructor that accepts a String message.

public static class Goal.MismatchedGoalException extends IllegalStateException

Exception thrown by Goal.getMetricObjective(), Goal.getDurationObjective(), Goal.getFrequencyObjective() if the goal doesn't match the requested objective type.

Public Constructor Summary

Inherited Method Summary

Public Constructors

public MismatchedGoalException (String msg)