diff --git a/runner/monitor/CHANGELOG.md b/runner/monitor/CHANGELOG.md index 51474a60e..92c24cb64 100644 --- a/runner/monitor/CHANGELOG.md +++ b/runner/monitor/CHANGELOG.md @@ -13,6 +13,7 @@ **API Changes** * Update to minSdkVersion 21 +* Make ReflectionException a RuntimeException **Breaking API Changes** diff --git a/runner/monitor/java/androidx/test/api/current_internal.txt b/runner/monitor/java/androidx/test/api/current_internal.txt index e96bc9d9f..91236f41b 100644 --- a/runner/monitor/java/androidx/test/api/current_internal.txt +++ b/runner/monitor/java/androidx/test/api/current_internal.txt @@ -63,7 +63,7 @@ package androidx.test.internal.platform.os { package androidx.test.internal.platform.reflect { - @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP) public class ReflectionException extends java.lang.Exception { + @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP) public class ReflectionException extends java.lang.RuntimeException { } @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP) public class ReflectiveField { diff --git a/runner/monitor/java/androidx/test/internal/platform/reflect/ReflectionException.java b/runner/monitor/java/androidx/test/internal/platform/reflect/ReflectionException.java index 5b91da2ff..8a55f54e0 100644 --- a/runner/monitor/java/androidx/test/internal/platform/reflect/ReflectionException.java +++ b/runner/monitor/java/androidx/test/internal/platform/reflect/ReflectionException.java @@ -24,7 +24,7 @@ * @hide */ @RestrictTo(Scope.LIBRARY_GROUP) -public class ReflectionException extends Exception { +public class ReflectionException extends RuntimeException { ReflectionException(Exception cause) { super("Reflection access failed", cause);