Quiet internal stack trace printing to console
We have an example image that is failing when we call RenderedOp.getRendering():
Error: Cannot decode the image for the type :
Occurs in: com.sun.media.jai.opimage.CodecRIFUtil
java.io.IOException: Premature end of input file
The error isn't the problem, since we are catching a Throwable on our end, and handling everything gracefully as we see fit. However, the problem is that the internal JAI code is spitting out these stack traces to the Console. WHICH WE DON'T WANT.
Is there a way to quiet this error printing, so that we can handle the Throwable in our own fashion?
FYI, here's a link to the image that is failing (although not sure if putting it on photobucket will make it different)