Richard Gomez
08/27/2022, 12:06 AMTooGenericExceptionCaught
? It's flagging this as being too generic, but IndexOutOfBoundsException
seems pretty appropriate.
https://github.com/rgmz/NewPipe/blob/75917c7f61cde0537075b3e1c5442cdf27755026/app/src/main/java/org/schabi/newpipe/info_list/StreamSegmentAdapter.kt#L54schalkms
08/27/2022, 4:31 PMTooGenericExceptionCaught
reports all exceptions of the following types being caught in a catch
clause.
['ArrayIndexOutOfBoundsException', 'Error', 'Exception', 'IllegalMonitorStateException', 'IndexOutOfBoundsException', 'NullPointerException', 'RuntimeException', 'Throwable']
schalkms
08/27/2022, 4:32 PMschalkms
08/27/2022, 4:36 PMIndexOutOfBoundsException
.Richard Gomez
08/29/2022, 6:15 PM