summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/java/android/util/ReflectiveProperty.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/util/ReflectiveProperty.java b/core/java/android/util/ReflectiveProperty.java
index 7bd7428e9da8..6832240f385b 100644
--- a/core/java/android/util/ReflectiveProperty.java
+++ b/core/java/android/util/ReflectiveProperty.java
@@ -128,7 +128,7 @@ class ReflectiveProperty<T, V> extends Property<T, V> {
throw new AssertionError();
}
} else {
- throw new NoSuchPropertyException("Property is read-only; set() is not implemented");
+ throw new UnsupportedOperationException("Property " + getName() +" is read-only");
}
}