Re: RFR: 8308842: Consolidate exceptions thrown from Class-File API [v3]

2023-06-05 Thread Adam Sotona
On Mon, 5 Jun 2023 15:03:01 GMT, Brian Goetz wrote: >> Adam Sotona has updated the pull request with a new target base due to a >> merge or a rebase. The incremental webrev excludes the unrelated changes >> brought in by the merge/rebase. The pull request contains three additional >> commits s

Re: RFR: 8308842: Consolidate exceptions thrown from Class-File API [v3]

2023-06-05 Thread Brian Goetz
On Mon, 5 Jun 2023 14:38:47 GMT, Adam Sotona wrote: >> Class-File API actually throws wide variety of exceptions based on the >> actual situation. Complete error handling code must cover >> `IndexOutOfBoundsException`, `IllegalStateException` and >> `IllegalArgumentException`. >> >> Based on

Re: RFR: 8308842: Consolidate exceptions thrown from Class-File API [v3]

2023-06-05 Thread Adam Sotona
> Class-File API actually throws wide variety of exceptions based on the actual > situation. Complete error handling code must cover > `IndexOutOfBoundsException`, `IllegalStateException` and > `IllegalArgumentException`. > > Based on previous discussions we decided to consolidate on > `Illeg