internal static Exception HitTestDetailsMustBeTypeof(Type hitTestDetailsType, Type stateMachineType, CoreInteractionFramework.IHitTestDetails hitTestDetails) { //The IHitTestDetails supplied: {0} were not of type {1} as is required by {2}. return new ArgumentException(string.Format(CultureInfo.InvariantCulture, Properties.Resources.HitTestDetailsMustBeTypeofException, hitTestDetails, hitTestDetailsType, stateMachineType)); }
internal static Exception ControllerSetToADifferentControllerException(CoreInteractionFramework.IInputElementStateMachine IInputElementStateMachine) { return new InvalidOperationException(string.Format(CultureInfo.InvariantCulture, Properties.Resources.ControllerSetToADifferentController, IInputElementStateMachine)); }