Restrict Decoder generic exception type to extend DecoderException
This is useful for merging the FFmpeg video support pull request, since it allows a Decoder base class implementation to catch DecoderException rather than forcing it to catch Exception (i.e., everything). Note that unfortunately, Java doesn't allow catching of a generic type (i.e., you cannot "catch (E e)") due to type erasure. PiperOrigin-RevId: 311300719
Showing
with
31 additions
and
15 deletions
Please
register
or
sign in
to comment