try {
byte[] globals = getOptionFieldBytes(dict, "JBIG2Globals");
if (globals != null) {
decoder.setGlobalData(globals);
}
decoder.decodeJBIG2(source);
} catch (JBIG2Exception ex) {
IOException ioException;
ioException = new IOException();
ioException.initCause(ex);