public static class

Goal.MismatchedGoalException

extends IllegalStateException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ java.lang.IllegalStateException
           ↳ com.google.android.gms.fitness.data.Goal.MismatchedGoalException

Class Overview

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

Summary

Public Constructors
Goal.MismatchedGoalException(String msg)
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public Goal.MismatchedGoalException (String msg)

Parameters
msg String