For a particular method, how can I view the checked exceptions in java using reflection? There does not seem to be support for this in the JDK.
Use this method in Method:
public Type[] getGenericExceptionTypes()
Then you have to iterate through the types if you want to separate checked and unchecked exceptions.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With