While I guess you are right in theory, I don't think any of those constructors actually throws an exception, this is because the underlying ByteArrayOutputStream doesn't throw an IOException. It only declares so because it extends OutputStream.

Although I'm not sure if an IOException can be thrown by any of these statements, it was FindBugs that lead me to this instance.