Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change ReflectionException superclass to RuntimeException. #2322

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

copybara-service[bot]
Copy link

Change ReflectionException superclass to RuntimeException.

For tests scenarios, making ReflectionException a checked exception is cumbersome
and provides limited value.

Most users of the axt.internal.platform.reflect APIs just
catch and rethrow ReflectionException in a RuntimeException.

@copybara-service copybara-service bot force-pushed the piper_707218369 branch 2 times, most recently from 572ef05 to a5a1001 Compare December 17, 2024 21:37
For tests scenarios, making ReflectionException a checked exception is cumbersome
and provides limited value.

Most users of the axt.internal.platform.reflect APIs just
catch and rethrow ReflectionException in a RuntimeException.

PiperOrigin-RevId: 707236659
@copybara-service copybara-service bot merged commit eb37e0e into main Dec 17, 2024
@copybara-service copybara-service bot deleted the piper_707218369 branch December 17, 2024 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant