This exception is used to signal a MimeException in methods that only permit IOException to be thrown.
MimeException
IOException
The cause of a MimeIOException is always a MimeException therefore.
MimeIOException
200201202203204205206207
} } private void verifyEndOfStream() throws IOException { if (strict && eof && !atBoundary) { throw new MimeIOException(new MimeException("Unexpected end of stream")); } }
272273274275276277278279280
} }); try { parser.parse(is); } catch (MimeException ex) { throw new MimeIOException(ex); } return header; }
309310311312313314315316
parser.setRecurse(); } parser.parse(is); return message; } catch (MimeException e) { throw new MimeIOException(e); } }
8687888990919293
} }); try { parser.parse(is); } catch (MimeException ex) { throw new MimeIOException(ex); } }
138139140141142143144145
try { MimeStreamParser parser = new MimeStreamParser(config); parser.setContentHandler(new MessageBuilder(this, storageProvider)); parser.parse(is); } catch (MimeException e) { throw new MimeIOException(e); } }
150151152153154155156157158
try { MimeStreamParser parser = new MimeStreamParser(null); parser.setContentHandler(new BinaryOnlyMessageBuilder(this, DefaultStorageProvider.getInstance())); parser.parse(is); } catch (MimeException e) { throw new MimeIOException(e); } }
277278279280281282283284285
314315316317318319320321