From 35d5b0fdea6ddcee2823c5ee5ea9ec7111e09878 Mon Sep 17 00:00:00 2001 From: Kirill Grouchnikov Date: Fri, 12 Aug 2016 13:12:23 -0400 Subject: [PATCH] Document exception thrown in SoundEffectConstants Change-Id: Id4ecf66c8c2ac6ead2a79438e4db702fd6dd196e --- core/java/android/view/SoundEffectConstants.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/java/android/view/SoundEffectConstants.java b/core/java/android/view/SoundEffectConstants.java index 4a77af47170d..8d891bbc2cfc 100644 --- a/core/java/android/view/SoundEffectConstants.java +++ b/core/java/android/view/SoundEffectConstants.java @@ -37,6 +37,8 @@ public class SoundEffectConstants { * or {@link View#FOCUS_BACKWARD} * @return The appropriate sonification constant. + * @throws {@link IllegalArgumentException} when the passed direction is not one of the + * documented values. */ public static int getContantForFocusDirection(int direction) { switch (direction) { -- 2.11.0